Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-17 16:20:14 +05:00
parent 8c9ae48424
commit c3a687213f
33 changed files with 357 additions and 230 deletions

View file

@ -106,7 +106,7 @@ internal class DefaultPaymentAccountStatusFetcher @Inject constructor(
private suspend fun fetchTangemPayAccountStatus(account: Account.Payment): PaymentAccountStatusValue {
val prevResult = paymentAccountStatusesStore.getSyncOrNull(account.userWalletId)
if (prevResult == null || prevResult.value is PaymentAccountStatusValue.Error) {
if (prevResult == null || prevResult.value is PaymentAccountStatusValue.Error.Unavailable) {
paymentAccountStatusesStore.store(
userWalletId = account.userWalletId,
status = AccountStatus.Payment(account = account, value = PaymentAccountStatusValue.Loading),