Updated on 2026-08-14
This commit is contained in:
parent
950aafe4ed
commit
e0bc66f30c
8 changed files with 42 additions and 6 deletions
|
|
@ -11,8 +11,8 @@ data class TokensDataStateExpress(
|
|||
companion object {
|
||||
val EMPTY =
|
||||
TokensDataStateExpress(
|
||||
fromGroup = CurrenciesGroup(emptyList(), emptyList()),
|
||||
toGroup = CurrenciesGroup(emptyList(), emptyList()),
|
||||
fromGroup = CurrenciesGroup(emptyList(), emptyList(), false),
|
||||
toGroup = CurrenciesGroup(emptyList(), emptyList(), false),
|
||||
allProviders = emptyList(),
|
||||
)
|
||||
}
|
||||
|
|
@ -21,4 +21,5 @@ data class TokensDataStateExpress(
|
|||
data class CurrenciesGroup(
|
||||
val available: List<CryptoCurrencySwapInfo>,
|
||||
val unavailable: List<CryptoCurrencySwapInfo>,
|
||||
val afterSearch: Boolean,
|
||||
)
|
||||
|
|
@ -148,6 +148,7 @@ internal class SwapInteractorImpl @Inject constructor(
|
|||
return CurrenciesGroup(
|
||||
available = availableCryptoCurrencies,
|
||||
unavailable = unavailableCryptoCurrencies.map { CryptoCurrencySwapInfo(it, emptyList()) },
|
||||
afterSearch = false
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue