lbry-desktop/electron
infinite-persistence 45c158f5b4 Remove the need to call 'app.getLocale()'
The removal is primarily to ease the upcoming language refactoring, but it was also never hit anyway, because if the `storedLanguage` is indeed null or undefined (like in the case of a fresh install), the `then` block never runs.

Fortunately, we do still get the effect of "falling back to OS's language", because `selectLanguage` will call `getDefaultLanguage` if `language` is null. While the `language` localStorage remains null, the rest of the code still gets the native language via `selectLanguage`.

Aside: `getDefaultLanguage` uses `navigator.language`. It does seem to grab my OS's locale correctly.
2021-04-04 22:54:33 -04:00
..
menu flow fixes 2020-12-16 10:52:22 -05:00
createTray.js Fix linting errors. 2021-01-29 10:10:10 -05:00
createWindow.js Remove the need to call 'app.getLocale()' 2021-04-04 22:54:33 -04:00
Daemon.js bundle wallet headers in app 2019-12-19 14:26:50 -05:00
devServer.js linking lbry-redux works 2019-11-21 11:44:56 -05:00
index.js Linux: Don't add extra call to associate 'lbry://' 2021-03-08 11:21:41 -05:00
installDevtools.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
LbryFirstInstance.js Initial commit for LBRY-First 2020-07-08 14:23:43 -04:00
sandboxTest.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
startSandbox.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
unpackByOutpoint.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00