We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47fc6d9 commit 3a8afc2Copy full SHA for 3a8afc2
src/settings.ts
@@ -8,9 +8,7 @@ function checkNotificationPromise(): boolean {
8
}
9
10
function handlePermission(permission: string): void {
11
- if (permission === 'granted') {
12
- alert('Browser Notifications are allowed. (^_^)b');
13
- } else {
+ if (permission !== 'granted') {
14
alert(
15
'Browser Notifications are not allowed. Please update your browser settings to allow notifications.'
16
);
0 commit comments