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 Dec 6, 2023
1 parent aaf0b8e commit ab61d8d
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 ab61d8d

Please sign in to comment.