Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #13073 from sergiorojasa/fix-restart-notification-…
Browse files Browse the repository at this point in the history
…bar-issue

Fix restart notification bar when changing language setting.
  • Loading branch information
bsclifton authored Feb 13, 2018
2 parents 7960252 + 97d6f34 commit c1860cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ app.on('ready', () => {
appActions.hideNotification(message)
}
}
if (prefsRestartLastValue[config] === undefined) {
if (prefsRestartLastValue[config] === undefined && typeof value === 'boolean') {
prefsRestartLastValue[config] = value
}
}
Expand Down

0 comments on commit c1860cd

Please sign in to comment.