parent
4006495b22
commit
a53ba0c4e1
|
@ -2,11 +2,11 @@
|
||||||
(:require
|
(:require
|
||||||
[quo2.core :as quo]
|
[quo2.core :as quo]
|
||||||
[quo2.foundations.colors :as colors]
|
[quo2.foundations.colors :as colors]
|
||||||
|
[react-native.platform :as platform]
|
||||||
[react-native.core :as rn]
|
[react-native.core :as rn]
|
||||||
[status-im2.contexts.chat.messages.content.link-preview.view :as link-preview]
|
[status-im2.contexts.chat.messages.content.link-preview.view :as link-preview]
|
||||||
[status-im2.contexts.chat.messages.content.text.style :as style]
|
[status-im2.contexts.chat.messages.content.text.style :as style]
|
||||||
[utils.i18n :as i18n]
|
[utils.i18n :as i18n]
|
||||||
[react-native.platform :as platform]
|
|
||||||
[utils.re-frame :as rf]))
|
[utils.re-frame :as rf]))
|
||||||
|
|
||||||
(defn render-inline
|
(defn render-inline
|
||||||
|
|
|
@ -56,9 +56,5 @@
|
||||||
:margin-bottom side-margin-animation}
|
:margin-bottom side-margin-animation}
|
||||||
{:align-items :flex-start}))
|
{:align-items :flex-start}))
|
||||||
|
|
||||||
(def name-container
|
|
||||||
{:flex-direction :row
|
|
||||||
:align-items :center})
|
|
||||||
|
|
||||||
(def bio
|
(def bio
|
||||||
{:margin-top 8})
|
{:margin-top 8})
|
||||||
|
|
|
@ -223,14 +223,13 @@
|
||||||
:display-name display-name
|
:display-name display-name
|
||||||
:online? online?
|
:online? online?
|
||||||
:profile-picture photo-path}])]
|
:profile-picture photo-path}])]
|
||||||
[rn/view {:style style/name-container}
|
|
||||||
[quo/text
|
[quo/text
|
||||||
{:weight :semi-bold
|
{:weight :semi-bold
|
||||||
:size :heading-1
|
:size :heading-1
|
||||||
:style {:margin-top (if group-chat 54 12)}
|
:style {:margin-top (if group-chat 54 12)}
|
||||||
:number-of-lines 1}
|
:number-of-lines 1}
|
||||||
display-name
|
display-name
|
||||||
[contact-icon contact]]]
|
[contact-icon contact]]
|
||||||
(when bio
|
(when bio
|
||||||
[quo/text {:style style/bio}
|
[quo/text {:style style/bio}
|
||||||
bio])
|
bio])
|
||||||
|
|
Loading…
Reference in New Issue