From 7de649f7383d581dfc03aba2e94bc53e8452cd17 Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Wed, 15 Nov 2023 13:04:20 +0400 Subject: [PATCH] review --- src/status_im2/contexts/onboarding/create_profile/view.cljs | 4 +--- src/status_im2/contexts/profile/create/events.cljs | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/status_im2/contexts/onboarding/create_profile/view.cljs b/src/status_im2/contexts/onboarding/create_profile/view.cljs index d4bff550ddd..3227b114a65 100644 --- a/src/status_im2/contexts/onboarding/create_profile/view.cljs +++ b/src/status_im2/contexts/onboarding/create_profile/view.cljs @@ -11,7 +11,6 @@ [react-native.safe-area :as safe-area] [reagent.core :as reagent] [status-im2.constants :as c] - [status-im2.contexts.emoji-picker.utils :as emoji-picker.utils] [status-im2.contexts.onboarding.create-profile.style :as style] [status-im2.contexts.onboarding.select-photo.method-menu.view :as method-menu] [utils.i18n :as i18n] @@ -222,8 +221,7 @@ (rf/dispatch [:onboarding-2/profile-data-set {:image-path @profile-pic :display-name @full-name - :color @custom-color - :emoji (emoji-picker.utils/random-emoji)}])) + :color @custom-color}])) :container-style style/continue-button :disabled? (or (not valid-name?) (not (seq @full-name)))} (i18n/label :t/continue)]]]]) diff --git a/src/status_im2/contexts/profile/create/events.cljs b/src/status_im2/contexts/profile/create/events.cljs index 13913f607c4..c58a6c60b43 100644 --- a/src/status_im2/contexts/profile/create/events.cljs +++ b/src/status_im2/contexts/profile/create/events.cljs @@ -2,6 +2,7 @@ (:require [native-module.core :as native-module] [re-frame.core :as re-frame] + [status-im2.contexts.emoji-picker.utils :as emoji-picker.utils] [status-im2.contexts.profile.config :as profile.config] [utils.re-frame :as rf] [utils.security.core :as security])) @@ -21,4 +22,4 @@ :password (native-module/sha3 (security/safe-unmask-data password)) :imagePath (profile.config/strip-file-prefix image-path) :customizationColor color - :emoji emoji)}) + :emoji (emoji-picker.utils/random-emoji))})