diff --git a/static/index-electron.html b/static/index-electron.html index dcd2dd244..c02566069 100644 --- a/static/index-electron.html +++ b/static/index-electron.html @@ -2,11 +2,11 @@ + LBRY
- diff --git a/static/index-web.html b/static/index-web.html index 31f50570e..c230faa59 100644 --- a/static/index-web.html +++ b/static/index-web.html @@ -2,6 +2,7 @@ + lbry.tv @@ -15,42 +16,5 @@
- - - diff --git a/ui/redux/reducers/settings.js b/ui/redux/reducers/settings.js index 737c5ff72..d6cd0246d 100644 --- a/ui/redux/reducers/settings.js +++ b/ui/redux/reducers/settings.js @@ -14,7 +14,7 @@ const defaultState = { [SETTINGS.ENABLE_SYNC]: true, // UI - [SETTINGS.LANGUAGE]: window.localStorage.getItem(SETTINGS.LANGUAGE) || 'en', + [SETTINGS.LANGUAGE]: window.localStorage.getItem(SETTINGS.LANGUAGE) || window.navigator.language.slice(0, 2) || 'en', [SETTINGS.THEME]: __('light'), [SETTINGS.THEMES]: [__('light'), __('dark')], [SETTINGS.SUPPORT_OPTION]: false, diff --git a/ui/store.js b/ui/store.js index 9d801aaff..4e7fbb6a4 100644 --- a/ui/store.js +++ b/ui/store.js @@ -56,7 +56,7 @@ const searchFilter = createFilter('search', ['options']); const tagsFilter = createFilter('tags', ['followedTags']); const subscriptionsFilter = createFilter('subscriptions', ['subscriptions']); const blockedFilter = createFilter('blocked', ['blockedChannels']); -const settingsFilter = createBlacklistFilter('settings', ['loadedLanguages']); +const settingsFilter = createBlacklistFilter('settings', ['loadedLanguages', 'language']); const whiteListedReducers = [ 'fileInfo', 'publish',