From 6fc0aaef60724748c318bdc6c6bc60a383c2bc14 Mon Sep 17 00:00:00 2001 From: Minhaz A V Date: Thu, 24 Mar 2016 05:46:52 +0530 Subject: [PATCH] setToolbarHidden(false) if setEnabled has enable = true Signed-off-by: Minhaz A V --- src/Notifier.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Notifier.js b/src/Notifier.js index f539fc8bd5..827d173915 100644 --- a/src/Notifier.js +++ b/src/Notifier.js @@ -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); } },