CAKE-30 | created settings_version_cell, language_row, version_list_item; applied new design to settings, faq, disclaimer, pin code, change language pages; fixed items of settings page

This commit is contained in:
OleksandrSobol
2020-09-07 20:35:34 +03:00
parent dab3c1c8b4
commit 30665aac1c
20 changed files with 278 additions and 176 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class Language with ChangeNotifier {
}
static Future<String> localeDetection() async {
String locale = await Devicelocale.currentLocale;
var locale = await Devicelocale.currentLocale;
locale = Intl.shortLocale(locale);
return languages.keys.contains(locale) ? locale : 'en';