diff --git a/src/status_im2/contexts/onboarding/create_profile/view.cljs b/src/status_im2/contexts/onboarding/create_profile/view.cljs index d4bff550ddd5..3227b114a655 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 13913f607c45..c58a6c60b434 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))})