Skip to content

Commit

Permalink
Wallet: Set color and emoji (#17906)
Browse files Browse the repository at this point in the history
* wallet: set color and emoji
  • Loading branch information
OmarBasem authored and yevh-berdnyk committed Dec 8, 2023
1 parent f75fe77 commit 9530f57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/status_im2/contexts/profile/create/events.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns status-im2.contexts.profile.create.events
(:require
[native-module.core :as native-module]
[status-im2.contexts.emoji-picker.utils :as emoji-picker.utils]
[status-im2.contexts.profile.config :as profile.config]
status-im2.contexts.profile.create.effects
[utils.re-frame :as rf]
Expand All @@ -14,4 +15,5 @@
:displayName display-name
:password (native-module/sha3 (security/safe-unmask-data password))
:imagePath (profile.config/strip-file-prefix image-path)
:customizationColor color)})
:customizationColor color
:emoji (emoji-picker.utils/random-emoji))})
4 changes: 3 additions & 1 deletion src/status_im2/contexts/profile/recover/events.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns status-im2.contexts.profile.recover.events
(:require
[native-module.core :as native-module]
[status-im2.contexts.emoji-picker.utils :as emoji-picker.utils]
[status-im2.contexts.profile.config :as profile.config]
status-im2.contexts.profile.recover.effects
[utils.re-frame :as rf]
Expand All @@ -18,4 +19,5 @@
:mnemonic (security/safe-unmask-data seed-phrase)
:password (native-module/sha3 (security/safe-unmask-data password))
:imagePath (profile.config/strip-file-prefix image-path)
:customizationColor color})})
:customizationColor color
:emoji (emoji-picker.utils/random-emoji)})})

0 comments on commit 9530f57

Please sign in to comment.