mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: lang switch (#553)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user