Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-16 18:10:00 +04:00
parent 2e8d0bc03b
commit 298e7a5565
29 changed files with 687 additions and 43 deletions

View file

@ -326,10 +326,11 @@ internal class ChildFactory @Inject constructor(
createComponentChild(
context = context,
params = SwapComponent.Params(
cryptoCurrency = route.cryptoCurrency,
fromCryptoCurrency = route.fromCryptoCurrency,
toCryptoCurrency = route.toCryptoCurrency,
userWalletId = route.userWalletId,
screenSource = route.screenSource,
currencyPosition = when (route.currencyPosition) {
fromCurrencyPosition = when (route.fromCurrencyPosition) {
AppRoute.Swap.CurrencyPosition.FROM -> SwapComponent.Params.CurrencyPosition.FROM
AppRoute.Swap.CurrencyPosition.TO -> SwapComponent.Params.CurrencyPosition.TO
AppRoute.Swap.CurrencyPosition.ANY -> SwapComponent.Params.CurrencyPosition.ANY