commit 040e45213240a707c2b1bdf5c06a41395401bbc7
parent ff41bb1b35c0fccfc3c538d33f435f40cfe7f8d6
Author: William Casarin <jb55@jb55.com>
Date: Fri, 21 Apr 2023 10:01:32 -0700
Fix having to set onlyzaps mode every time on restart
Changelog-Fixed: Fix having to set onlyzaps mode every time on restart
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Models/UserSettingsStore.swift b/damus/Models/UserSettingsStore.swift
@@ -302,7 +302,7 @@ class UserSettingsStore: ObservableObject {
disable_animation = should_disable_image_animation()
auto_translate = UserDefaults.standard.object(forKey: "auto_translate") as? Bool ?? true
show_only_preferred_languages = UserDefaults.standard.object(forKey: "show_only_preferred_languages") as? Bool ?? false
- onlyzaps_mode = UserDefaults.standard.object(forKey: "hide_reactions") as? Bool ?? false
+ onlyzaps_mode = UserDefaults.standard.object(forKey: "onlyzaps_mode") as? Bool ?? false
// Note from @tyiu:
// Default translation service is disabled by default for now until we gain some confidence that it is working well in production.