Updated on 2026-08-14

This commit is contained in:
Tangem 2021-09-28 07:07:40 +03:00
parent 3658f49240
commit 0ec0d79028
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ class UsedCardsPrefStorage(
return findCardInfo(cardId)?.isActivationStarted ?: false
}
fun activated(cardId: String) {
fun activate(cardId: String) {
val restoredList = restore()
val foundItem = findCardInfo(cardId, restoredList)?.copy(isActivated = true)
?: UsedCardInfo(cardId, isActivated = true)