Skip to content

Commit c80ca3e

Browse files
committed
fix: locale fallback
closes #199
1 parent 4a7028f commit c80ca3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MyApp extends StatelessWidget {
1414

1515
final LocaleListResolutionCallback localeListResolutionCallback =
1616
(locales, supportedLocales) {
17-
return theme.userSetLocale ?? locales.first;
17+
return theme.userSetLocale ?? supportedLocales.first;
1818
};
1919

2020
return Container(

0 commit comments

Comments
 (0)