This commit is contained in:
Matthew Fosse 2024-03-01 14:00:07 -08:00
parent f80e3bdcc9
commit 7b051206bb
3 changed files with 5 additions and 4 deletions

View file

@ -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:

View file

@ -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>(),
);

View file

@ -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;