Updated on 2026-08-14
This commit is contained in:
parent
6901522cf7
commit
a61cb65789
13 changed files with 89 additions and 62 deletions
|
|
@ -78,7 +78,7 @@ internal class GetSingleWalletWarningsFactory @Inject constructor(
|
|||
element = WalletNotification.UsedOutdatedData,
|
||||
condition = maybePrimaryCurrencyStatus.fold(
|
||||
ifLeft = { false },
|
||||
ifRight = { it.value.source == StatusSource.ONLY_CACHE },
|
||||
ifRight = { it.value.sources.total == StatusSource.ONLY_CACHE },
|
||||
),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ internal class SingleWalletCardStateConverter(
|
|||
balance = formatFiatAmount(status = status, appCurrency = appCurrency),
|
||||
cardCount = selectedWallet.getCardsCount(),
|
||||
isZeroBalance = status.fiatAmount?.isZero(),
|
||||
isBalanceFlickering = (status as? CryptoCurrencyStatus.Loaded)?.source == StatusSource.CACHE,
|
||||
isBalanceFlickering = (status as? CryptoCurrencyStatus.Loaded)?.sources?.total == StatusSource.CACHE,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue