diff --git a/src/controllers/atoms/EnableNotificationsButton.js b/src/controllers/atoms/EnableNotificationsButton.js index 02d99f6507..33bc270abd 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;