Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarBasem committed Nov 15, 2023
1 parent 32a7a77 commit 7de649f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/status_im2/contexts/onboarding/create_profile/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)]]]])
Expand Down
3 changes: 2 additions & 1 deletion src/status_im2/contexts/profile/create/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand All @@ -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))})

0 comments on commit 7de649f

Please sign in to comment.