File tree 3 files changed +10
-14
lines changed
src/status_im2/contexts/chat/messages
3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 2
2
(:require
3
3
[quo2.core :as quo]
4
4
[quo2.foundations.colors :as colors]
5
+ [react-native.platform :as platform]
5
6
[react-native.core :as rn]
6
7
[status-im2.contexts.chat.messages.content.link-preview.view :as link-preview]
7
8
[status-im2.contexts.chat.messages.content.text.style :as style]
104
105
(render-inline acc e chat-id style-override mention-first))
105
106
[quo/text
106
107
{:style {:size :paragraph-1
107
- :margin-bottom (if mention-first (if quo. platform/ios? 4 0 ) 2 )
108
- :margin-top (if mention-first (if quo. platform/ios? -4 0 ) 2 )
108
+ :margin-bottom (if mention-first (if platform/ios? 4 0 ) 2 )
109
+ :margin-top (if mention-first (if platform/ios? -4 0 ) 2 )
109
110
:color (when (seq style-override) colors/white)}}]
110
111
children)])
111
112
Original file line number Diff line number Diff line change 56
56
:margin-bottom side-margin-animation}
57
57
{:align-items :flex-start }))
58
58
59
- (def name-container
60
- {:flex-direction :row
61
- :align-items :center })
62
-
63
59
(def bio
64
60
{:margin-top 8 })
Original file line number Diff line number Diff line change 223
223
:display-name display-name
224
224
:online? online?
225
225
:profile-picture photo-path}])]
226
- [rn/view {:style style/name-container}
227
- [quo/text
228
- {:weight :semi-bold
229
- :size :heading-1
230
- :style {:margin-top (if group-chat 54 12 )}
231
- :number-of-lines 1 }
232
- display-name
233
- [contact-icon contact]]]
226
+ [quo/text
227
+ {:weight :semi-bold
228
+ :size :heading-1
229
+ :style {:margin-top (if group-chat 54 12 )}
230
+ :number-of-lines 1 }
231
+ display-name
232
+ [contact-icon contact]]
234
233
(when bio
235
234
[quo/text {:style style/bio}
236
235
bio])
You can’t perform that action at this time.
0 commit comments