fix(backup): fix import not setting recoverAccount so backup wasn't used

This commit is contained in:
Jonathan Rainville 2023-09-27 15:44:57 -04:00
parent 23966ec2cb
commit 6e1fd1bb33
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ method executePrimaryCommand*(self: UserProfileConfirmPasswordState, controller:
elif self.flowType == FlowType.FirstRunNewUserNewKeycardKeys:
controller.storeKeycardAccountAndLogin(storeToKeychain, newKeycard = true)
elif self.flowType == FlowType.FirstRunOldUserImportSeedPhrase:
controller.storeImportedAccountAndLogin(storeToKeychain)
controller.storeImportedAccountAndLogin(storeToKeychain, recoverAccount = true)
elif self.flowType == FlowType.LostKeycardConvertToRegularAccount:
controller.loginAccountKeycardUsingSeedPhrase(storeToKeychain)