mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Fix not downloading translations when needed
This commit is contained in:
parent
c4ad50906e
commit
a3600dfd75
@ -317,7 +317,9 @@ export class Translations {
|
||||
|
||||
try {
|
||||
Translations.#foreignTranslations = JSON.parse(window.localStorage.getItem(Translations.#KEY_TRANSLATIONS)!);
|
||||
} catch(e) {
|
||||
} catch(e) {}
|
||||
|
||||
if (!Translations.#foreignTranslations) {
|
||||
await this.downloadTranslations(Translations.#selectedLocale);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user