Skip to content

Commit

Permalink
fixed language show in settings home
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangzhiguo1992 committed Nov 24, 2021
1 parent 6ccf7e0 commit 980606e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/screens/settings/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ class _SettingsHomeScreenState extends BaseStateFulWidgetState<SettingsHomeScree
setState(() {
_currentLanguage = _getLanguageText(state.locale);
});
Future.delayed(Duration(milliseconds: 500), () => setState(() {}));
Future.delayed(Duration(milliseconds: 500), () {
setState(() {
_initData();
});
});
}
});

Expand Down

0 comments on commit 980606e

Please sign in to comment.