If no Notifications, we essentially don't have permission (should fix on iOS)
This commit is contained in:
@@ -44,6 +44,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
havePermission: function() {
|
havePermission: function() {
|
||||||
|
if (!this.supportsDesktopNotifications()) return false;
|
||||||
return global.Notification.permission == 'granted';
|
return global.Notification.permission == 'granted';
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user