From 802152b61bf95c06ef475a2c9e4fd16401f6ce11 Mon Sep 17 00:00:00 2001 From: Jord Date: Fri, 13 Feb 2026 22:22:12 +0100 Subject: [PATCH] fix: don't reset desktop notification preference on startup --- fluxer_app/src/stores/NotificationStore.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fluxer_app/src/stores/NotificationStore.tsx b/fluxer_app/src/stores/NotificationStore.tsx index 729892c87..95c17f2d6 100644 --- a/fluxer_app/src/stores/NotificationStore.tsx +++ b/fluxer_app/src/stores/NotificationStore.tsx @@ -430,7 +430,9 @@ class NotificationStore { try { const granted = await NotificationUtils.isGranted(); runInAction(() => { - this.browserNotificationsEnabled = granted; + if (!granted) { + this.browserNotificationsEnabled = false; + } }); if (granted) { if (shouldManagePushSubscriptions()) {