Emoji-only messages can be long-pressed
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
a4d8f57b09
commit
a06ca37de5
|
@ -276,7 +276,7 @@
|
|||
(re-frame/dispatch [:chat.ui/set-chat-ui-props {:messages-focused? true
|
||||
:show-stickers? false}])
|
||||
(react/dismiss-keyboard!))
|
||||
:on-long-press #(when (= content-type constants/content-type-text)
|
||||
:on-long-press #(when (or (= content-type constants/content-type-text) (= content-type constants/content-type-emoji))
|
||||
(list-selection/chat-message message-id old-message-id (:text content) (i18n/label :t/message)))}
|
||||
[react/view {:accessibility-label :chat-item}
|
||||
(let [incoming-group (and group-chat (not outgoing))]
|
||||
|
|
Loading…
Reference in New Issue