From 7c54537cb342fe3c9ad98ff745b324acc14cf432 Mon Sep 17 00:00:00 2001 From: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Date: Thu, 20 Apr 2023 19:30:06 +0800 Subject: [PATCH] [Fix] iOS crash on onboarding without biometrics (#15688) --- src/status_im2/contexts/onboarding/events.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im2/contexts/onboarding/events.cljs b/src/status_im2/contexts/onboarding/events.cljs index 61ec684a9f..2401d285b1 100644 --- a/src/status_im2/contexts/onboarding/events.cljs +++ b/src/status_im2/contexts/onboarding/events.cljs @@ -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]}