Updated on 2026-08-14
This commit is contained in:
commit
590770919f
2 changed files with 3 additions and 4 deletions
|
|
@ -13,6 +13,7 @@ import com.tangem.tap.features.wallet.redux.reducers.createAddressesData
|
|||
import com.tangem.tap.network.NetworkConnectivity
|
||||
import com.tangem.tap.network.exchangeServices.CurrencyExchangeManager
|
||||
import com.tangem.tap.store
|
||||
import kotlinx.coroutines.delay
|
||||
import timber.log.Timber
|
||||
|
||||
/**
|
||||
|
|
@ -20,6 +21,7 @@ import timber.log.Timber
|
|||
*/
|
||||
suspend fun WalletManager.safeUpdate(): Result<Wallet> = try {
|
||||
if (isDemoWallet()) {
|
||||
delay(500)
|
||||
Result.Success(wallet)
|
||||
} else {
|
||||
update()
|
||||
|
|
|
|||
|
|
@ -155,10 +155,7 @@ class DemoConfig {
|
|||
"AC79000000000004", // Wallet 4.46
|
||||
)
|
||||
|
||||
private val debugTestDemoCardIds = listOf(
|
||||
"AB01000000045060", // Note BTC
|
||||
"AB02000000045028", // Note ETH
|
||||
"AC79000000000004", // Wallet 4.46
|
||||
private val debugTestDemoCardIds = listOf<String>(
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue