setToolbarHidden(false) if setEnabled has enable = true

Signed-off-by: Minhaz A V <minhazav@gmail.com>
pull/21833/head
Minhaz A V 2016-03-24 05:46:52 +05:30
parent 8605ca134e
commit 6fc0aaef60
1 changed files with 2 additions and 1 deletions

View File

@ -150,6 +150,7 @@ var Notifier = {
value: true
});
});
this.setToolbarHidden(false);
} else {
if (!global.localStorage) return;
global.localStorage.setItem('notifications_enabled', 'false');
@ -194,7 +195,7 @@ var Notifier = {
// update the info to localStorage for persistent settings
if (persistent && global.localStorage) {
global.localStorage.setItem('notifications_hidden', 'true');
global.localStorage.setItem('notifications_hidden', hidden);
}
},