Updated on 2026-08-14
This commit is contained in:
commit
94071a6564
1 changed files with 3 additions and 1 deletions
|
|
@ -36,9 +36,11 @@ internal class MultiWalletTokenListSubscriber(
|
|||
override fun tokenListFlow(): MaybeTokenListFlow = getTokenListUseCase(userWallet.walletId)
|
||||
|
||||
override suspend fun onTokenListReceived(maybeTokenList: Either<TokenListError, TokenList>) {
|
||||
updateSortingIfNeeded(maybeTokenList)
|
||||
// TODO disabled for 5.7.2 because of potential critical
|
||||
// updateSortingIfNeeded(maybeTokenList)
|
||||
}
|
||||
|
||||
@Suppress("UnusedPrivateMember")
|
||||
private suspend fun updateSortingIfNeeded(maybeTokenList: Either<TokenListError, TokenList>) {
|
||||
val tokenList = maybeTokenList.getOrElse { return }
|
||||
if (!checkNeedSorting(tokenList)) return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue