damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 0436c68ec580b1141aa593ae416bc7fbdc650e30
parent 88740a2bc70ed73c158729ecdf0485d4faad2722
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  5 Apr 2023 08:43:52 -0700

Fix some notification settings not saving

Changelog-Fixed: Fix some notification settings not saving

Diffstat:
Mdamus/Models/UserSettingsStore.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Models/UserSettingsStore.swift b/damus/Models/UserSettingsStore.swift @@ -148,7 +148,7 @@ class UserSettingsStore: ObservableObject { @Published var dm_notification: Bool { didSet { - UserDefaults.standard.set(repost_notification, forKey: "dm_notification") + UserDefaults.standard.set(dm_notification, forKey: "dm_notification") } } @@ -160,7 +160,7 @@ class UserSettingsStore: ObservableObject { @Published var notification_only_from_following: Bool { didSet { - UserDefaults.standard.set(like_notification, forKey: "notification_only_from_following") + UserDefaults.standard.set(notification_only_from_following, forKey: "notification_only_from_following") } }