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
|
value: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
this.setToolbarHidden(false);
|
||||||
} else {
|
} else {
|
||||||
if (!global.localStorage) return;
|
if (!global.localStorage) return;
|
||||||
global.localStorage.setItem('notifications_enabled', 'false');
|
global.localStorage.setItem('notifications_enabled', 'false');
|
||||||
|
@ -194,7 +195,7 @@ var Notifier = {
|
||||||
|
|
||||||
// update the info to localStorage for persistent settings
|
// update the info to localStorage for persistent settings
|
||||||
if (persistent && global.localStorage) {
|
if (persistent && global.localStorage) {
|
||||||
global.localStorage.setItem('notifications_hidden', 'true');
|
global.localStorage.setItem('notifications_hidden', hidden);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue