diff --git a/src/ui/redux/actions/settings.js b/src/ui/redux/actions/settings.js index 8d7fbc30e..5f39f4f8c 100644 --- a/src/ui/redux/actions/settings.js +++ b/src/ui/redux/actions/settings.js @@ -2,8 +2,8 @@ import fs from 'fs'; import http from 'http'; // @endif -import { Lbry, ACTIONS, SETTINGS } from 'lbry-redux'; -import * as DESKTOP_SETTINGS from 'constants/settings'; +import { Lbry, ACTIONS } from 'lbry-redux'; +import * as SETTINGS from 'constants/settings'; import { makeSelectClientSetting } from 'redux/selectors/settings'; import analytics from 'analytics'; @@ -157,7 +157,7 @@ export function doSetDarkTime(value, options) { }; const mergedTimes = { ...darkModeTimes, ...modifiedTimes }; - dispatch(doSetClientSetting(DESKTOP_SETTINGS.DARK_MODE_TIMES, mergedTimes)); + dispatch(doSetClientSetting(SETTINGS.DARK_MODE_TIMES, mergedTimes)); dispatch(doUpdateIsNight()); }; } diff --git a/static/locales/en.json b/static/locales/en.json index fe64dd31b..654155557 100644 --- a/static/locales/en.json +++ b/static/locales/en.json @@ -705,5 +705,7 @@ "Get ??? LBC": "Get ??? LBC", "to fix it. If that doesn't work, press CMD/CTRL-R to reset to the homepage.": "to fix it. If that doesn't work, press CMD/CTRL-R to reset to the homepage.", "LBRY names cannot contain spaces or reserved symbols ($#@;/\"<>%{}|^~[]`)": "LBRY names cannot contain spaces or reserved symbols ($#@;/\"<>%{}|^~[]`)", - "Creating channel...": "Creating channel..." -} + "Creating channel...": "Creating channel...", + "From": "From", + "To": "To" +} \ No newline at end of file