mirror of
https://github.com/TuringSoftware/CrystalFetch.git
synced 2026-01-16 01:04:31 +08:00
build: fix default language not selected
This commit is contained in:
parent
403fc287ab
commit
d2cf9dc887
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ struct BuildConfigView: View {
|
|||
selectedEditions.formUnion(edition.editions.map({ $0.code }))
|
||||
if let lastSelectedLocale = lastSelectedLocale {
|
||||
selectedLocale = lastSelectedLocale
|
||||
} else {
|
||||
selectedLocale = worker.defaultLocale
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue