Updated on 2026-08-14

This commit is contained in:
Tangem 2021-12-07 23:57:35 +03:00
parent 4565bae9bf
commit 4239b2aa25

View file

@ -134,7 +134,7 @@ private fun handleWalletAction(action: Action) {
private fun updateScanResponseAfterBackup(
scanResponse: ScanResponse, backupState: BackupState
): ScanResponse {
val card = if (backupState.backupStep == BackupStep.Finished) {
val card = if (backupState.backupCardsNumber > 0) {
val cardsCount = backupState.backupCardsNumber
scanResponse.card.copy(
backupStatus = Card.BackupStatus.Active(cardCount = cardsCount),