Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-24 12:06:14 +04:00
parent b9ba8a030a
commit 1128278084
6 changed files with 24 additions and 17 deletions

View file

@ -8,8 +8,10 @@ import com.tangem.domain.models.scan.ScanResponse
import com.tangem.domain.redux.ReduxStateHolder
import com.tangem.domain.wallets.legacy.UserWalletsListManager
import com.tangem.domain.wallets.legacy.WalletsStateHolder
import com.tangem.domain.wallets.models.UserWallet
import com.tangem.tap.common.entities.FiatCurrency
import com.tangem.tap.common.extensions.dispatchOnMain
import com.tangem.tap.common.extensions.onUserWalletSelected
import com.tangem.tap.common.redux.AppState
import com.tangem.tap.domain.TangemSdkManager
import com.tangem.tap.domain.tokens.UserTokensRepository
@ -66,4 +68,8 @@ class AppStateHolder @Inject constructor() : WalletsStateHolder, ReduxNavControl
override fun dispatch(action: Action) {
mainStore?.dispatch(action)
}
override suspend fun onUserWalletSelected(userWallet: UserWallet) {
mainStore?.onUserWalletSelected(userWallet)
}
}