Skip to content

Commit 07a9722

Browse files
committed
fix bottom navigationbar locale change
1 parent 7b67bfa commit 07a9722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pages/setting_page.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class _SettingPageState extends State<SettingPage> {
139139
},
140140
);
141141
if (locale != null) {
142+
await changeLocale(context, '${locale.languageCode}_${locale.countryCode}');
142143
StoreProvider.of<AppState>(context).dispatch(RefreshLocaleAction(locale));
143144
}
144145
},

0 commit comments

Comments
 (0)