Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-07-09 10:17:20 +00:00
commit 42b77bfc48
1 changed files with 3 additions and 3 deletions

View File

@ -170,15 +170,15 @@ const Notifier = {
value: true, value: true,
}); });
}); });
// clear the notifications_hidden flag, so that if notifications are
// disabled again in the future, we will show the banner again.
this.setToolbarHidden(true);
} else { } else {
dis.dispatch({ dis.dispatch({
action: "notifier_enabled", action: "notifier_enabled",
value: false, value: false,
}); });
} }
// set the notifications_hidden flag, as the user has knowingly interacted
// with the setting we shouldn't nag them any further
this.setToolbarHidden(true);
}, },
isEnabled: function() { isEnabled: function() {