setToolbarHidden(false) if setEnabled has enable = true
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
parent
8605ca134e
commit
6fc0aaef60
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue