diff --git a/src/status_im/ui/screens/chat/utils.cljs b/src/status_im/ui/screens/chat/utils.cljs index e8aa67a43b0..6b74acf23bd 100644 --- a/src/status_im/ui/screens/chat/utils.cljs +++ b/src/status_im/ui/screens/chat/utils.cljs @@ -14,12 +14,13 @@ (defn format-author [alias style name] (let [additional-styles (style false)] (if name - [react/text {:number-of-lines 1 - :style (merge {:color colors/blue - :font-size 13 - :line-height 18 - :font-weight "500"} additional-styles)} - (str "@" (or (stateofus/username name) name))] + (let [name (subs name 0 80)] + [react/text {:number-of-lines 2 + :style (merge {:color colors/blue + :font-size 13 + :line-height 18 + :font-weight "500"} additional-styles)} + (str "@" (or (stateofus/username name) name))]) [react/text {:style (merge {:color colors/gray :font-size 12 :line-height 18 @@ -36,7 +37,7 @@ (or (and (= from current-public-key) [react/text {:style (style true)} (str reply-symbol (i18n/label :t/You))]) - (format-author reply-name style false)))) + (format-author (subs reply-name 0 80) style false)))) (def ^:private styling->prop {:bold {:style {:font-weight "700"}}