Updated on 2026-08-14
This commit is contained in:
parent
e7ebbb931e
commit
507b608807
12 changed files with 152 additions and 37 deletions
|
|
@ -233,6 +233,7 @@ internal class MultiWalletFinalizeModel @Inject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
@Suppress("LongMethod")
|
||||
private fun finishBackup() {
|
||||
modelScope.launch {
|
||||
setLoading(true)
|
||||
|
|
@ -306,6 +307,10 @@ internal class MultiWalletFinalizeModel @Inject constructor(
|
|||
launch(NonCancellable) { walletsRepository.markWallet2WasCreated(userWallet.walletId) }
|
||||
}
|
||||
|
||||
if (userWallet.isMultiCurrency) {
|
||||
launch(NonCancellable) { walletsRepository.createWallet(userWallet.walletId) }
|
||||
}
|
||||
|
||||
// user wallet is fully created and saved, remove scan response from preferences
|
||||
// to prevent showing finalize screen dialog on next app start
|
||||
onboardingRepository.clearUnfinishedFinalizeOnboarding()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue