Fix night mode start time #1050
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
*
|
||||
|
||||
### Fixed
|
||||
*
|
||||
* Fix night mode start time, set to 9PM (#1050)
|
||||
*
|
||||
|
||||
### Deprecated
|
||||
|
|
|
@ -71,7 +71,7 @@ export function doUpdateIsNight() {
|
|||
return {
|
||||
type: ACTIONS.UPDATE_IS_NIGHT,
|
||||
data: { isNight: (() => {
|
||||
const startNightMoment = moment('19:00', 'HH:mm');
|
||||
const startNightMoment = moment('21:00', 'HH:mm');
|
||||
const endNightMoment = moment('8:00', 'HH:mm');
|
||||
return !(momentNow.isAfter(endNightMoment) && momentNow.isBefore(startNightMoment));
|
||||
})()
|
||||
|
|
Loading…
Reference in a new issue