diff --git a/src/controllers/atoms/EnableNotificationsButton.js b/src/controllers/atoms/EnableNotificationsButton.js index 02d99f65..33bc270a 100644 --- a/src/controllers/atoms/EnableNotificationsButton.js +++ b/src/controllers/atoms/EnableNotificationsButton.js @@ -43,7 +43,9 @@ module.exports = { enable: function() { if (!this.havePermission()) { - global.Notification.requestPermission(); + global.Notification.requestPermission(function() { + this.forceUpdate(); + }); } if (!global.localStorage) return;