mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
parent
aaf0b8e423
commit
ab61d8d5c0
@ -1,6 +1,7 @@
|
|||||||
(ns status-im2.contexts.profile.create.events
|
(ns status-im2.contexts.profile.create.events
|
||||||
(:require
|
(:require
|
||||||
[native-module.core :as native-module]
|
[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.config :as profile.config]
|
||||||
status-im2.contexts.profile.create.effects
|
status-im2.contexts.profile.create.effects
|
||||||
[utils.re-frame :as rf]
|
[utils.re-frame :as rf]
|
||||||
@ -14,4 +15,5 @@
|
|||||||
:displayName display-name
|
:displayName display-name
|
||||||
:password (native-module/sha3 (security/safe-unmask-data password))
|
:password (native-module/sha3 (security/safe-unmask-data password))
|
||||||
:imagePath (profile.config/strip-file-prefix image-path)
|
:imagePath (profile.config/strip-file-prefix image-path)
|
||||||
:customizationColor color)})
|
:customizationColor color
|
||||||
|
:emoji (emoji-picker.utils/random-emoji))})
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
(ns status-im2.contexts.profile.recover.events
|
(ns status-im2.contexts.profile.recover.events
|
||||||
(:require
|
(:require
|
||||||
[native-module.core :as native-module]
|
[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.config :as profile.config]
|
||||||
status-im2.contexts.profile.recover.effects
|
status-im2.contexts.profile.recover.effects
|
||||||
[utils.re-frame :as rf]
|
[utils.re-frame :as rf]
|
||||||
@ -18,4 +19,5 @@
|
|||||||
:mnemonic (security/safe-unmask-data seed-phrase)
|
:mnemonic (security/safe-unmask-data seed-phrase)
|
||||||
:password (native-module/sha3 (security/safe-unmask-data password))
|
:password (native-module/sha3 (security/safe-unmask-data password))
|
||||||
:imagePath (profile.config/strip-file-prefix image-path)
|
:imagePath (profile.config/strip-file-prefix image-path)
|
||||||
:customizationColor color})})
|
:customizationColor color
|
||||||
|
:emoji (emoji-picker.utils/random-emoji)})})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user