fix create profile issues (#15561)
This commit is contained in:
parent
79cd7f7df5
commit
6bdadd9f0d
|
@ -6,6 +6,7 @@
|
||||||
[quo2.components.inputs.title-input.view :as title-input]
|
[quo2.components.inputs.title-input.view :as title-input]
|
||||||
[quo2.foundations.colors :as colors]
|
[quo2.foundations.colors :as colors]
|
||||||
[react-native.core :as rn]
|
[react-native.core :as rn]
|
||||||
|
[react-native.platform :as platform]
|
||||||
[react-native.hole-view :as hole-view]))
|
[react-native.hole-view :as hole-view]))
|
||||||
|
|
||||||
(defn profile-input
|
(defn profile-input
|
||||||
|
@ -18,20 +19,29 @@
|
||||||
[rn/view
|
[rn/view
|
||||||
{:style (style/container customization-color)}
|
{:style (style/container customization-color)}
|
||||||
[rn/view
|
[rn/view
|
||||||
[hole-view/hole-view
|
(if platform/ios?
|
||||||
{:holes [{:x 33
|
[hole-view/hole-view
|
||||||
:y 23
|
{:holes [{:x 33
|
||||||
:width 24
|
:y 23
|
||||||
:height 24
|
:width 24
|
||||||
:borderRadius 12}]}
|
:height 24
|
||||||
[user-avatar/user-avatar
|
:borderRadius 12}]}
|
||||||
(assoc image-picker-props
|
[user-avatar/user-avatar
|
||||||
:customization-color customization-color
|
(assoc image-picker-props
|
||||||
:full-name (if (seq full-name)
|
:customization-color customization-color
|
||||||
full-name
|
:full-name (if (seq full-name)
|
||||||
placeholder)
|
full-name
|
||||||
:status-indicator? false
|
placeholder)
|
||||||
:size :medium)]]
|
:status-indicator? false
|
||||||
|
:size :medium)]]
|
||||||
|
[user-avatar/user-avatar
|
||||||
|
(assoc image-picker-props
|
||||||
|
:customization-color customization-color
|
||||||
|
:full-name (if (seq full-name)
|
||||||
|
full-name
|
||||||
|
placeholder)
|
||||||
|
:status-indicator? false
|
||||||
|
:size :medium)])
|
||||||
[buttons/button
|
[buttons/button
|
||||||
{:accessibility-label :select-profile-picture-button
|
{:accessibility-label :select-profile-picture-button
|
||||||
:type :grey
|
:type :grey
|
||||||
|
|
Loading…
Reference in New Issue