|
@@ -29,7 +29,7 @@ class MyApp extends StatelessWidget {
|
|
|
child: Consumer<LanguageChangeController>(
|
|
|
builder: (context, provider, child) {
|
|
|
if (locale.isEmpty) {
|
|
|
- provider.changeLanguage(Locale('en'));
|
|
|
+ provider.changeLanguage(const Locale('en'));
|
|
|
}
|
|
|
return MaterialApp(
|
|
|
localizationsDelegates: AppLocalizations.localizationsDelegates,
|