Updated on 2026-08-14
This commit is contained in:
parent
07ed25f0c5
commit
6a983097bc
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,10 @@ class ScanNoteTask(val card: Card? = null) : CardSessionRunnable<ScanNoteRespons
|
|||
is CompletionResult.Failure -> callback(CompletionResult.Failure(result.error))
|
||||
|
||||
is CompletionResult.Success -> {
|
||||
val card = this.card ?: result.data
|
||||
val card = this.card?.copy(
|
||||
isPin1Default = result.data.isPin1Default,
|
||||
isPin2Default = result.data.isPin2Default
|
||||
) ?: result.data
|
||||
|
||||
val error = getErrorIfExcludedCard(card)
|
||||
if (error != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue