remove lbry-redux settinsg constants
This commit is contained in:
parent
8a16b68cfa
commit
0caf307c8c
2 changed files with 7 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import http from 'http';
|
import http from 'http';
|
||||||
// @endif
|
// @endif
|
||||||
import { Lbry, ACTIONS, SETTINGS } from 'lbry-redux';
|
import { Lbry, ACTIONS } from 'lbry-redux';
|
||||||
import * as DESKTOP_SETTINGS from 'constants/settings';
|
import * as SETTINGS from 'constants/settings';
|
||||||
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
||||||
import analytics from 'analytics';
|
import analytics from 'analytics';
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ export function doSetDarkTime(value, options) {
|
||||||
};
|
};
|
||||||
const mergedTimes = { ...darkModeTimes, ...modifiedTimes };
|
const mergedTimes = { ...darkModeTimes, ...modifiedTimes };
|
||||||
|
|
||||||
dispatch(doSetClientSetting(DESKTOP_SETTINGS.DARK_MODE_TIMES, mergedTimes));
|
dispatch(doSetClientSetting(SETTINGS.DARK_MODE_TIMES, mergedTimes));
|
||||||
dispatch(doUpdateIsNight());
|
dispatch(doUpdateIsNight());
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -705,5 +705,7 @@
|
||||||
"Get ??? LBC": "Get ??? LBC",
|
"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.",
|
"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 ($#@;/\"<>%{}|^~[]`)",
|
"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"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue