fix changing automatic dark mode hours
This commit is contained in:
parent
2989ef6f7b
commit
587bc7059e
2 changed files with 3 additions and 2 deletions
|
@ -465,7 +465,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
>
|
>
|
||||||
{themes.map(theme => (
|
{themes.map(theme => (
|
||||||
<option key={theme} value={theme}>
|
<option key={theme} value={theme}>
|
||||||
{theme}
|
{theme === 'light' ? __('Light') : __('Dark')}
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</FormField>
|
</FormField>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { Lbry, ACTIONS, SETTINGS } from 'lbry-redux';
|
import { Lbry, ACTIONS } from 'lbry-redux';
|
||||||
|
import * as SETTINGS from 'constants/settings';
|
||||||
import analytics from 'analytics';
|
import analytics from 'analytics';
|
||||||
|
|
||||||
const UPDATE_IS_NIGHT_INTERVAL = 5 * 60 * 1000;
|
const UPDATE_IS_NIGHT_INTERVAL = 5 * 60 * 1000;
|
||||||
|
|
Loading…
Reference in a new issue