mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
fixes
This commit is contained in:
parent
f80e3bdcc9
commit
7b051206bb
3 changed files with 5 additions and 4 deletions
|
@ -6,7 +6,7 @@ CryptoCurrency currencyForWalletType(WalletType type) {
|
|||
case WalletType.bitcoin:
|
||||
return CryptoCurrency.btc;
|
||||
case WalletType.lightning:
|
||||
return CryptoCurrency.btc;
|
||||
return CryptoCurrency.btcln;
|
||||
case WalletType.monero:
|
||||
return CryptoCurrency.xmr;
|
||||
case WalletType.litecoin:
|
||||
|
|
|
@ -1239,7 +1239,7 @@ Future<void> setup({
|
|||
getIt.get<AppStore>().wallet!,
|
||||
getIt.get<SettingsStore>(),
|
||||
getIt.get<FiatConversionStore>(),
|
||||
() => CryptoCurrency.btc,
|
||||
() => CryptoCurrency.btcln,
|
||||
),
|
||||
authService: getIt.get<AuthService>(),
|
||||
);
|
||||
|
|
|
@ -145,8 +145,8 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with
|
|||
ChangeNowExchangeProvider(settingsStore: _settingsStore),
|
||||
SideShiftExchangeProvider(),
|
||||
SimpleSwapExchangeProvider(),
|
||||
TrocadorExchangeProvider(useTorOnly: _useTorOnly,
|
||||
providerStates: _settingsStore.trocadorProviderStates),
|
||||
TrocadorExchangeProvider(
|
||||
useTorOnly: _useTorOnly, providerStates: _settingsStore.trocadorProviderStates),
|
||||
if (FeatureFlag.isExolixEnabled) ExolixExchangeProvider(),
|
||||
];
|
||||
|
||||
|
@ -599,6 +599,7 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with
|
|||
receiveCurrency = CryptoCurrency.btc;
|
||||
break;
|
||||
case WalletType.bitcoin:
|
||||
case WalletType.lightning:
|
||||
depositCurrency = CryptoCurrency.btc;
|
||||
receiveCurrency = CryptoCurrency.xmr;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue