Skip to content

Commit 674f90f

Browse files
committed
If no Notifications, we essentially don't have permission (should fix on iOS)
1 parent 79c2a5a commit 674f90f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/controllers/organisms/Notifier.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module.exports = {
4444
},
4545

4646
havePermission: function() {
47+
if (!this.supportsDesktopNotifications()) return false;
4748
return global.Notification.permission == 'granted';
4849
},
4950

0 commit comments

Comments
 (0)