diff --git a/app/src/page/settings/view.js b/app/src/page/settings/view.js index 87577753..a3acff33 100644 --- a/app/src/page/settings/view.js +++ b/app/src/page/settings/view.js @@ -16,7 +16,10 @@ class SettingsPage extends React.PureComponent { showNsfw, setClientSetting } = this.props; - + + // If no true / false value set, default to true + const actualKeepDaemonRunning = (keepDaemonRunning === undefined || keepDaemonRunning === null) ? true : keepDaemonRunning; + return ( Enable this option for quicker app launch and to keep the synchronisation with the blockchain up to date. - setClientSetting(SETTINGS.KEEP_DAEMON_RUNNING, value)} /> + setClientSetting(SETTINGS.KEEP_DAEMON_RUNNING, value)} />