fix(settings): Correct update for language model

Closes: #5843
This commit is contained in:
Boris Melnik 2022-05-23 14:52:26 +03:00 committed by Iuri Matias
parent b847c75ad6
commit eba5a31578
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ QtObject {
ListElement {key: "ur"; shortName: "اُردُو"; name: "Urdu"; category: "Beta Languages"; imageSource: "../../assets/twemoji/26x26/1f1f5-1f1f0.png"; selected: false}
}
onLocaleChanged: {
initializeLanguageModel()
}
// TODO: That logic should be moved to backend.
function initializeLanguageModel() {
var isSelected = false