Skip to content

Commit

Permalink
[#17218] fix: android channel name ellipsize completely
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Sep 14, 2023
1 parent e2f837f commit fd262ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(:require
[quo2.core :as quo]
[quo2.foundations.colors :as colors]
[react-native.platform :as platform]
[react-native.core :as rn]
[status-im2.contexts.chat.messages.content.link-preview.view :as link-preview]
[status-im2.contexts.chat.messages.content.text.style :as style]
Expand Down
4 changes: 0 additions & 4 deletions src/status_im2/contexts/chat/messages/list/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,5 @@
:margin-bottom side-margin-animation}
{:align-items :flex-start}))

(def name-container
{:flex-direction :row
:align-items :center})

(def bio
{:margin-top 8})
15 changes: 7 additions & 8 deletions src/status_im2/contexts/chat/messages/list/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,13 @@
:display-name display-name
:online? online?
:profile-picture photo-path}])]
[rn/view {:style style/name-container}
[quo/text
{:weight :semi-bold
:size :heading-1
:style {:margin-top (if group-chat 54 12)}
:number-of-lines 1}
display-name
[contact-icon contact]]]
[quo/text
{:weight :semi-bold
:size :heading-1
:style {:margin-top (if group-chat 54 12)}
:number-of-lines 1}
display-name
[contact-icon contact]]
(when bio
[quo/text {:style style/bio}
bio])
Expand Down

0 comments on commit fd262ee

Please sign in to comment.