Updated on 2026-08-14
This commit is contained in:
parent
62a032e3d1
commit
ebcf2f40e5
13 changed files with 222 additions and 81 deletions
15
app/src/main/java/com/tangem/tap/proxy/AppStateHolder.kt
Normal file
15
app/src/main/java/com/tangem/tap/proxy/AppStateHolder.kt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package com.tangem.tap.proxy
|
||||
|
||||
import com.tangem.common.card.Card
|
||||
import com.tangem.domain.common.ScanResponse
|
||||
import com.tangem.tap.features.wallet.redux.WalletState
|
||||
|
||||
class AppStateHolder {
|
||||
|
||||
val scanResponse: ScanResponse? = null
|
||||
val walletState: WalletState? = null
|
||||
|
||||
fun getActualCard(): Card? {
|
||||
return scanResponse?.card
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue