is night interval to 60 seconds and shorten label message

This commit is contained in:
Arrowana 2018-01-17 20:55:25 +11:00
parent 4795901e12
commit 6f77106ffa
2 changed files with 2 additions and 2 deletions

View file

@ -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)')}
/>
</div>
</section>

View file

@ -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 => {