From 818299da11f0d99c381937bb5dc92dae9adae28f Mon Sep 17 00:00:00 2001 From: Minhaz A V Date: Wed, 23 Mar 2016 13:50:24 +0530 Subject: [PATCH] persistent = true, as default param in setToolbarHidden() method Signed-off-by: Minhaz A V --- src/Notifier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notifier.js b/src/Notifier.js index 7157dd9c44..e750ee33bf 100644 --- a/src/Notifier.js +++ b/src/Notifier.js @@ -163,7 +163,7 @@ var Notifier = { action: "notifier_enabled", value: false }); - self.setToolbarHidden(true); + self.setToolbarHidden(true, false); return; } if (result === 'default') { @@ -216,7 +216,7 @@ var Notifier = { return enabled === 'true'; }, - setToolbarHidden: function(hidden, persistent) { + setToolbarHidden: function(hidden, persistent = true) { this.toolbarHidden = hidden; dis.dispatch({ action: "notifier_enabled",