From dff5987d3c323307406336b718d7ffd4a959c663 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 9 May 2023 18:21:26 -0700 Subject: [PATCH] settings: mark UserSettings as changed in KeychainStorage properties Maybe this isn't strictly needed at the moment, but to remain consistent with the Settings and StringSettings property wrapper we will do this. --- damus/Util/KeychainStorage.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/damus/Util/KeychainStorage.swift b/damus/Util/KeychainStorage.swift index 26893ad4..3d009a15 100644 --- a/damus/Util/KeychainStorage.swift +++ b/damus/Util/KeychainStorage.swift @@ -64,6 +64,8 @@ import Security _ = SecItemDelete(query) } + + UserSettingsStore.shared!.objectWillChange.send() } }