Skip to content

Commit

Permalink
fix #886
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Jul 2, 2024
1 parent cea567c commit 66e2071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _FlutterReduxAppState extends State<FlutterReduxApp>
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,
Expand Down

0 comments on commit 66e2071

Please sign in to comment.