Updated on 2026-08-14
This commit is contained in:
parent
8c9ae48424
commit
c3a687213f
33 changed files with 357 additions and 230 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue