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.
2 parents 47fc6d9 + 3a8afc2 commit 6f58e38Copy full SHA for 6f58e38
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