Updated on 2026-08-14
This commit is contained in:
parent
30606cd99f
commit
cad4aaf996
1 changed files with 2 additions and 0 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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue