Updated on 2026-08-14

This commit is contained in:
Tangem 2026-03-20 15:27:00 +03:00
parent 2a1369fce6
commit 5a99de87fb
29 changed files with 194 additions and 47 deletions

View file

@ -326,6 +326,7 @@ internal class ChildFactory @Inject constructor(
amount = route.amount,
tag = route.tag,
destinationAddress = route.destinationAddress,
entryType = route.entryType.toSendEntryType(),
),
componentFactory = sendComponentFactoryV2,
)
@ -687,4 +688,9 @@ internal class ChildFactory @Inject constructor(
}
}
}
}
private fun AppRoute.Send.EntryType.toSendEntryType(): SendComponent.EntryType = when (this) {
AppRoute.Send.EntryType.Manual -> SendComponent.EntryType.Manual
AppRoute.Send.EntryType.QR -> SendComponent.EntryType.QR
}