Updated on 2026-08-14
This commit is contained in:
parent
2a1369fce6
commit
5a99de87fb
29 changed files with 194 additions and 47 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue