Updated on 2026-08-14
This commit is contained in:
commit
7eed9bc250
1 changed files with 7 additions and 1 deletions
|
|
@ -105,8 +105,14 @@ class WalletMiddleware {
|
|||
)
|
||||
when (result) {
|
||||
is CompletionResult.Success -> {
|
||||
val card = globalState?.scanNoteResponse?.card?.let {
|
||||
result.data.copy(
|
||||
isPin1Default = it.isPin1Default,
|
||||
isPin2Default = it.isPin2Default,
|
||||
)
|
||||
} ?: result.data
|
||||
val scanNoteResponse =
|
||||
globalState?.scanNoteResponse?.copy(card = result.data)
|
||||
globalState?.scanNoteResponse?.copy(card = card)
|
||||
scanNoteResponse?.let {
|
||||
globalState.tapWalletManager.onCardScanned(scanNoteResponse)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue