remove lbry-redux settinsg constants

This commit is contained in:
Sean Yesmunt 2019-09-23 19:47:58 -04:00
parent 8a16b68cfa
commit 0caf307c8c
2 changed files with 7 additions and 5 deletions

View file

@ -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());
};
}

View file

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