Updated on 2026-08-14
This commit is contained in:
parent
06876aeb1a
commit
557012bd99
2 changed files with 4 additions and 1 deletions
|
|
@ -103,7 +103,9 @@ class AppLogsStore @Inject constructor(
|
|||
private fun launchWithLock(callback: () -> Unit) {
|
||||
scope.launch {
|
||||
mutex.withLock {
|
||||
callback()
|
||||
runCatching {
|
||||
callback()
|
||||
}.onFailure(Timber::e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ internal class CurrenciesStatusesLceOperations(
|
|||
userWalletId: UserWalletId,
|
||||
): LceFlow<TokenListError, List<CryptoCurrency>> {
|
||||
return currenciesRepository.getMultiCurrencyWalletCurrenciesUpdatesLce(userWalletId)
|
||||
.distinctUntilChanged()
|
||||
.map { maybeCurrencies ->
|
||||
maybeCurrencies.mapError { TokenListError.DataError(it) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue