From 6f77106ffaa4a00780fbedc3cf65930a5259a11f Mon Sep 17 00:00:00 2001 From: Arrowana Date: Wed, 17 Jan 2018 20:55:25 +1100 Subject: [PATCH] is night interval to 60 seconds and shorten label message --- src/renderer/page/settings/view.jsx | 2 +- src/renderer/redux/actions/settings.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/page/settings/view.jsx b/src/renderer/page/settings/view.jsx index f3de1c2b3..0b061e87a 100644 --- a/src/renderer/page/settings/view.jsx +++ b/src/renderer/page/settings/view.jsx @@ -327,7 +327,7 @@ class SettingsPage extends React.PureComponent { type="checkbox" onChange={this.onAutomaticDarkModeChange.bind(this)} defaultChecked={automaticDarkModeEnabled} - label={__('Automatic dark mode (switch to dark theme between 9pm and 8am)')} + label={__('Automatic dark mode (9pm to 8am)')} /> diff --git a/src/renderer/redux/actions/settings.js b/src/renderer/redux/actions/settings.js index 2e7dd46b3..a23eb01cd 100644 --- a/src/renderer/redux/actions/settings.js +++ b/src/renderer/redux/actions/settings.js @@ -6,7 +6,7 @@ import Http from 'http'; import Lbry from 'lbry'; import moment from 'moment'; -const UPDATE_IS_NIGHT_INTERVAL = 10 * 1000; +const UPDATE_IS_NIGHT_INTERVAL = 60 * 1000; export function doFetchDaemonSettings() { return dispatch => {