mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-21 10:24:15 +01:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user