Skip to content

Commit

Permalink
Fix model property following 7f6b4d4
Browse files Browse the repository at this point in the history
  • Loading branch information
lucka-me committed Feb 7, 2024
1 parent a69f764 commit 126e1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Shared/Views/CommunityPluginListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ fileprivate extension ViewModel {
fileprivate extension ScriptManager {
func isExistingPlugin(_ id: String) -> Bool {
let descriptor = FetchDescriptor<Plugin>(predicate: #Predicate {
!$0.isInternal && $0.idendifier == id
!$0.isInternal && $0.identifier == id
})
guard let count = try? modelContext.fetchCount(descriptor) else {
return false
Expand Down

0 comments on commit 126e1c5

Please sign in to comment.