diff --git a/source/browser.ts b/source/browser.ts index 9841816c7..96c30fb67 100644 --- a/source/browser.ts +++ b/source/browser.ts @@ -288,6 +288,11 @@ ipc.answerMain('toggle-mute-notifications', async () => { await closePreferences(); } + // TODO: Fix notifications + if (notificationCheckbox === null) { + return false; + } + return !notificationCheckbox.checked; });