Fix having to set onlyzaps mode every time on restart

Changelog-Fixed: Fix having to set onlyzaps mode every time on restart
This commit is contained in:
William Casarin
2023-04-21 10:01:32 -07:00
parent ff41bb1b35
commit 040e452132

View File

@@ -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.