mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
Truncate text inside contact request notifications (#19499)
* tweak: truncate text inside contact request notifications to be a max of two lines * tweak: truncate text inside the activity-center contact-requests to be a max of two lines
This commit is contained in:
parent
5fe28a2c9b
commit
0e29149363
@ -39,6 +39,7 @@
|
||||
{:size :paragraph-2
|
||||
:weight :medium
|
||||
:style (style/text theme)
|
||||
:number-of-lines 2
|
||||
:accessibility-label :notification-content}
|
||||
text])
|
||||
|
||||
|
@ -113,7 +113,8 @@
|
||||
:unread? (not (:read notification))
|
||||
:context [[common/user-avatar-tag author]
|
||||
(i18n/label :t/contact-request-sent)]
|
||||
:message {:body (get-in message [:content :text])}
|
||||
:message {:body (get-in message [:content :text])
|
||||
:body-number-of-lines 2}
|
||||
:items
|
||||
(condp = (:contact-request-state message)
|
||||
constants/contact-request-message-state-accepted
|
||||
|
Loading…
x
Reference in New Issue
Block a user