From 97d6f344817a3813705b31bbfeb55c535f3ac4b4 Mon Sep 17 00:00:00 2001 From: Sergio Rojas Date: Thu, 8 Feb 2018 09:42:19 -0800 Subject: [PATCH] Fix restart notification bar. --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 241329354f6..597f218585a 100644 --- a/app/index.js +++ b/app/index.js @@ -286,7 +286,7 @@ app.on('ready', () => { appActions.hideNotification(message) } } - if (prefsRestartLastValue[config] === undefined) { + if (prefsRestartLastValue[config] === undefined && typeof value === 'boolean') { prefsRestartLastValue[config] = value } }