fix changing automatic dark mode hours

This commit is contained in:
zxawry 2019-10-24 22:41:18 +01:00 committed by Sean Yesmunt
parent 2989ef6f7b
commit 587bc7059e
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -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;