Fix: setting the language does not overwrite the user setting anymore

This commit is contained in:
Pieter Vander Vennet 2023-06-06 00:03:50 +02:00
parent 4606df7d2b
commit c6283ac720
6 changed files with 22 additions and 16 deletions

View file

@ -27,7 +27,7 @@ export default class AllThemesGui {
})
const state = new UserRelatedState(osmConnection)
const intro = new Combine([
new LanguagePicker(Translations.t.index.title.SupportedLanguages(), "").SetClass(
new LanguagePicker(Translations.t.index.title.SupportedLanguages(), state.language).SetClass(
"flex absolute top-2 right-3"
),
new IndexText(),