fix: onboarding keycard issues fixed
- no emojihash and identicon ring displayed in for keycard onboarding flow - can't restore account (windows and linux), issue #15101 - can't create new account with keycard (linux, windows), issue #15055 - illegal storage access issue when hitting Start using status button (which actually was a crash after pressing the button), issue #15035
This commit is contained in:
parent
a2032ac689
commit
eaf5f0263f
|
@ -9,9 +9,12 @@ proc delete*(self: UserProfileConfirmPasswordState) =
|
|||
self.State.delete
|
||||
|
||||
method getNextPrimaryState*(self: UserProfileConfirmPasswordState, controller: Controller): State =
|
||||
if not main_constants.SUPPORTS_FINGERPRINT:
|
||||
return nil
|
||||
return createState(StateType.Biometrics, self.flowType, self)
|
||||
if main_constants.SUPPORTS_FINGERPRINT:
|
||||
return createState(StateType.Biometrics, self.flowType, self)
|
||||
if self.flowType == FlowType.FirstRunOldUserImportSeedPhrase or
|
||||
self.flowType == FlowType.FirstRunOldUserKeycardImport:
|
||||
return createState(StateType.ProfileFetching, self.flowType, nil)
|
||||
return nil
|
||||
|
||||
method executePrimaryCommand*(self: UserProfileConfirmPasswordState, controller: Controller) =
|
||||
if main_constants.SUPPORTS_FINGERPRINT:
|
||||
|
|
|
@ -13,6 +13,9 @@ method executePrimaryCommand*(self: UserProfileCreateState, controller: Controll
|
|||
if self.flowType == FlowType.FirstRunOldUserImportSeedPhrase or
|
||||
self.flowType == FlowType.FirstRunOldUserKeycardImport:
|
||||
controller.storeProfileDataAndProceedWithAppLoading()
|
||||
if self.flowType == FlowType.FirstRunNewUserNewKeycardKeys or
|
||||
self.flowType == FlowType.FirstRunNewUserImportSeedPhraseIntoKeycard:
|
||||
controller.storeKeycardAccountAndLogin(storeToKeychain = false, newKeycard = true)
|
||||
|
||||
method getNextPrimaryState*(self: UserProfileCreateState, controller: Controller): State =
|
||||
if self.flowType == FlowType.FirstRunOldUserImportSeedPhrase or
|
||||
|
|
Loading…
Reference in New Issue