From 4fb40ff3f118cdb9e44ca96f5fb49a541ae5a363 Mon Sep 17 00:00:00 2001 From: poka Date: Sat, 6 Aug 2022 01:45:06 +0200 Subject: [PATCH] fallback to english if user lang is not supported in debug mode --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index e1a99e6..60f4f68 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -123,7 +123,7 @@ Future main() async { EasyLocalization( supportedLocales: const [Locale('en'), Locale('fr'), Locale('es')], path: 'assets/translations', - fallbackLocale: const Locale('fr'), + fallbackLocale: const Locale('en'), child: Gecko(indexerEndpoint), ), );