mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-01 08:21:57 +08:00
fix: homeUI performance
This commit is contained in:
@ -83,6 +83,8 @@ class LocalizationUIModel extends _$LocalizationUIModel {
|
||||
final lang = await appConfBox.get("localization_selectedLanguage",
|
||||
defaultValue: languageSupport.keys.first);
|
||||
state = state.copyWith(selectedLanguage: lang);
|
||||
// fix for ui performance
|
||||
await Future.delayed(Duration(milliseconds: 250));
|
||||
await _loadData();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user