From 66e20717bea19c22375520886a97a8e73240e934 Mon Sep 17 00:00:00 2001 From: guoshuyu <359369982@qq.com> Date: Tue, 2 Jul 2024 09:53:24 +0800 Subject: [PATCH] fix #886 --- lib/app.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.dart b/lib/app.dart index e8c4c78e..025f0e91 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -90,7 +90,7 @@ class _FlutterReduxAppState extends State GSYLocalizationsDelegate.delegate, ], supportedLocales: [ - store.state.locale ?? store.state.platformLocale! + store.state.locale ?? store.state.platformLocale ?? const Locale('en', 'US') ], locale: store.state.locale, theme: store.state.themeData,