[Fix] iOS crash on onboarding without biometrics (#15688)

This commit is contained in:
Mohamed Javid 2023-04-20 19:30:06 +08:00 committed by GitHub
parent 14653f387b
commit 7c54537cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -105,7 +105,10 @@
:previewPrivacy config/blank-preview?}]
{effect request
:dispatch [:navigate-to :generating-keys]
:db (assoc db :onboarding-2/new-account? true)}))
:db (-> db
(dissoc :multiaccounts/login)
(dissoc :auth-method)
(assoc :onboarding-2/new-account? true))}))
(rf/defn on-delete-profile-success
{:events [:onboarding-2/on-delete-profile-success]}