diff --git a/pass/Models/PasswordStore.swift b/pass/Models/PasswordStore.swift index 3b19c4e..e72ff28 100644 --- a/pass/Models/PasswordStore.swift +++ b/pass/Models/PasswordStore.swift @@ -197,7 +197,9 @@ class PasswordStore { passwordEntity.synced = true } do { - try context.save() + if context.hasChanges { + try context.save() + } } catch { fatalError("Failed to save: \(error)") }