Updated on 2026-08-14
This commit is contained in:
commit
8ce2b8d52b
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ import com.tangem.tap.domain.TapError
|
|||
import com.tangem.tap.domain.UrlBitmapLoader
|
||||
import com.tangem.tap.domain.extensions.getOrLoadCardArtworkUrl
|
||||
import com.tangem.tap.domain.tasks.product.ScanResponse
|
||||
import com.tangem.tap.features.wallet.models.hasPendingTransactions
|
||||
import com.tangem.tap.features.wallet.redux.Artwork
|
||||
import com.tangem.tap.features.wallet.redux.Currency
|
||||
import com.tangem.tap.features.wallet.redux.ProgressState
|
||||
|
|
@ -64,7 +65,7 @@ class OnboardingManager(
|
|||
} else {
|
||||
val currency = Currency.Blockchain(walletManager.wallet.blockchain)
|
||||
val balance = if (valueOfAmount.isZero()) {
|
||||
OnboardingWalletBalance.done(valueOfAmount, wallet.recentTransactions.isNotEmpty(), currency)
|
||||
OnboardingWalletBalance.done(valueOfAmount, wallet.hasPendingTransactions(), currency)
|
||||
} else {
|
||||
OnboardingWalletBalance.done(valueOfAmount, false, currency)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue