Updated on 2026-08-14
This commit is contained in:
parent
88ee5df2a4
commit
8eb8f3810c
3 changed files with 23 additions and 0 deletions
|
|
@ -120,9 +120,16 @@ internal class SaveWalletMiddleware {
|
|||
)
|
||||
}
|
||||
|
||||
val savedUserWallet = userWalletsListManager.selectedUserWalletSync.guard {
|
||||
Timber.e("User wallet is not saved")
|
||||
return@launch
|
||||
}
|
||||
store.dispatchWithMain(SaveWalletAction.Save.Success)
|
||||
store.dispatchWithMain(NavigationAction.PopBackTo(AppScreen.Wallet))
|
||||
store.dispatchWithMain(WalletAction.UpdateCanSaveUserWallets(canSaveUserWallets = true))
|
||||
store.dispatchWithMain(
|
||||
action = WalletAction.MultiWallet.CheckForBackupWarning(savedUserWallet.scanResponse.card),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue