if user l1 is not set, return system language (#1234)
This commit is contained in:
parent
358f4bc4aa
commit
43855f1ac3
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class LanguageController {
|
|||
String? get _userL1Code {
|
||||
final source =
|
||||
_pangeaController.userController.profile.userSettings.sourceLanguage;
|
||||
return source == null || source.isEmpty ? null : source;
|
||||
return source == null || source.isEmpty ? systemLanguage.langCode : source;
|
||||
}
|
||||
|
||||
String? get _userL2Code {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue