Updated on 2026-08-14
This commit is contained in:
parent
8e96433f44
commit
aa77c81f2d
1 changed files with 4 additions and 3 deletions
|
|
@ -80,11 +80,10 @@ internal class WalletWarningsClickIntentsImplementor @Inject constructor(
|
|||
override fun onAddBackupCardClick() {
|
||||
analyticsEventHandler.send(MainScreen.NoticeBackupYourWalletTapped)
|
||||
|
||||
prepareOnboardingProcess()
|
||||
router.openOnboardingScreen()
|
||||
prepareAndStartOnboardingProcess()
|
||||
}
|
||||
|
||||
private fun prepareOnboardingProcess() {
|
||||
private fun prepareAndStartOnboardingProcess() {
|
||||
viewModelScope.launch(dispatchers.main) {
|
||||
getSelectedUserWallet()?.let {
|
||||
reduxStateHolder.dispatch(
|
||||
|
|
@ -94,6 +93,8 @@ internal class WalletWarningsClickIntentsImplementor @Inject constructor(
|
|||
),
|
||||
)
|
||||
}
|
||||
// navigation action shouldn't be out of coroutine to avoid race
|
||||
router.openOnboardingScreen()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue