Enable long tap on long messages

Allows to copy and share text
This commit is contained in:
Dmitry Novotochinov 2018-05-31 20:40:02 +03:00 committed by Roman Volosovskyi
parent 2eccca9898
commit af318822da
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@
[react/view [react/view
[react/text {:style (style/text-message message collapsible?) [react/text {:style (style/text-message message collapsible?)
:number-of-lines (when collapsible? number-of-lines) :number-of-lines (when collapsible? number-of-lines)
:ref (partial reset! ref) :ref (partial reset! ref)}
:on-press on-press}
parsed-text parsed-text
[react/text {:style (style/message-timestamp-placeholder-text outgoing)} (timestamp-with-padding timestamp-str)]] [react/text {:style (style/message-timestamp-placeholder-text outgoing)} (timestamp-with-padding timestamp-str)]]
(when collapsible? (when collapsible?