fix: lang switch (#553)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-27 14:36:00 +08:00
committed by GitHub
parent 931c5f0bf6
commit 329fd33b69
2 changed files with 2 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ class MyApp extends StatelessWidget {
final locale = Stores.setting.locale.fetch().toLocale;
return MaterialApp(
key: ValueKey(locale),
locale: locale,
localizationsDelegates: const [
LibLocalizations.delegate,