mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 10:46:21 +00:00
[FIX #3136] Add a line under profile image when editing profile
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
7e78acc0cc
commit
8f1bc58b4b
@ -44,6 +44,13 @@
|
||||
:justify-content :center
|
||||
:align-items :center})
|
||||
|
||||
(def profile-badge-edit
|
||||
{:flex-direction :column
|
||||
:justify-content :center})
|
||||
|
||||
(def modal-menu
|
||||
{:align-items :center})
|
||||
|
||||
(def context-menu-custom-styles
|
||||
{:optionsContainer {:margin-top 78}})
|
||||
|
||||
@ -63,10 +70,14 @@
|
||||
(defstyle profile-name-input-text
|
||||
{:font-size 15
|
||||
:text-align :center
|
||||
:flex 1
|
||||
:ios {:letter-spacing -0.2
|
||||
:height 46
|
||||
:width 800}
|
||||
:android {:color colors/black}})
|
||||
:border-bottom-width 1
|
||||
:border-bottom-color styles/color-light-gray3}
|
||||
:android {:color colors/black
|
||||
:border-bottom-width 2
|
||||
:border-bottom-color styles/color-blue4}})
|
||||
|
||||
(def profile-badge-name-container
|
||||
{:flex 1
|
||||
|
@ -101,11 +101,12 @@
|
||||
(i18n/label :t/camera-access-error)))))]))}])
|
||||
|
||||
(defn profile-badge-edit [{:keys [name last-online] :as account}]
|
||||
[react/view styles/profile-badge
|
||||
[react/view styles/profile-badge-edit
|
||||
[context-menu/modal-menu
|
||||
[chat-icon.screen/my-profile-icon {:account account
|
||||
:edit? true}]
|
||||
{} (i18n/label :t/image-source-title)
|
||||
styles/modal-menu
|
||||
(i18n/label :t/image-source-title)
|
||||
profile-icon-options]
|
||||
[react/view styles/profile-badge-name-container
|
||||
[profile-name-input name]
|
||||
|
Loading…
x
Reference in New Issue
Block a user