Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-03 17:06:03 +03:00
parent 7bf535ffb6
commit d65c12dbb8

View file

@ -32,6 +32,7 @@ import kotlinx.coroutines.flow.*
import kotlinx.coroutines.launch
import org.rekotlin.Action
import org.rekotlin.Middleware
import timber.log.Timber
import java.util.Locale
object GlobalMiddleware {
@ -190,6 +191,7 @@ private fun handleAction(action: Action, appState: () -> AppState?) {
.getAll(userWallet.walletId)
.distinctUntilChanged()
.onEach(infoHolder::setWalletsInfo)
.catch { Timber.e(it) }
.launchIn(mainScope)
}
}