mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-06 06:03:48 +08:00
fix: homeUI performance
This commit is contained in:
parent
c02c98a19e
commit
8dd7ef53a1
@ -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();
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ part of 'localization_ui_model.dart';
|
||||
// **************************************************************************
|
||||
|
||||
String _$localizationUIModelHash() =>
|
||||
r'03f091f71cf0422c36c987844c92139a4407ecaa';
|
||||
r'9c45db7c36a19710584d04441c4b263010e59e4e';
|
||||
|
||||
/// See also [LocalizationUIModel].
|
||||
@ProviderFor(LocalizationUIModel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user