fix typo
This commit is contained in:
parent
d4256feabd
commit
26499e06a3
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ export function doSetDarkTime(value, options) {
|
|||
export function doSetLanguage(language) {
|
||||
return (dispatch, getState) => {
|
||||
const { settings } = getState();
|
||||
if (settings.language !== language || (settings.loadedLanguages && !settings.loadedLanguages.include(language))) {
|
||||
if (settings.language !== language || (settings.loadedLanguages && !settings.loadedLanguages.includes(language))) {
|
||||
// this should match the behavior/logic in index-web.html
|
||||
fetch('https://lbry.com/i18n/get/lbry-desktop/app-strings/' + language + '.json')
|
||||
.then(r => r.json())
|
||||
|
|
Loading…
Add table
Reference in a new issue