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
devServer.js
index.js Linux: Don't add extra call to associate 'lbry://' 2021-03-08 11:21:41 -05:00
installDevtools.js
LbryFirstInstance.js
sandboxTest.js
startSandbox.js
unpackByOutpoint.js