mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-29 06:38:45 +01:00
CAKE-306 | fixed settings_store.dart and di.dart
This commit is contained in:
@@ -253,7 +253,7 @@ abstract class SettingsStoreBase with Store {
|
||||
(secrets.wyreApiKey?.isNotEmpty ?? false) &&
|
||||
(secrets.wyreAccountId?.isNotEmpty ?? false);
|
||||
|
||||
var isMoonPayEnabled = false;
|
||||
/*var isMoonPayEnabled = false;
|
||||
try {
|
||||
final locale = await Devicelocale.currentLocale;
|
||||
final deviceCountryCode = locale.split('_').last;
|
||||
@@ -261,12 +261,12 @@ abstract class SettingsStoreBase with Store {
|
||||
} catch (e) {
|
||||
isMoonPayEnabled = false;
|
||||
print(e.toString());
|
||||
}
|
||||
}*/
|
||||
|
||||
final settings = await SettingsStoreBase.load(
|
||||
nodeSource: nodeSource,
|
||||
isBitcoinBuyEnabled: isBitcoinBuyEnabled,
|
||||
isMoonPayEnabled: isMoonPayEnabled,
|
||||
isMoonPayEnabled: true,
|
||||
initialBalanceDisplayMode: initialBalanceDisplayMode,
|
||||
initialFiatCurrency: initialFiatCurrency,
|
||||
initialMoneroTransactionPriority: initialMoneroTransactionPriority,
|
||||
|
||||
Reference in New Issue
Block a user