[#12451] Fix copy icon in message actions

This commit is contained in:
Roman Volosovskyi 2021-08-17 16:10:00 +03:00
parent ad9dc9913f
commit 02277be602
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@
(defn on-long-press-fn [on-long-press content image]
(on-long-press
(when-not image
[{:on-press #(react/copy-to-clipboard
[{:id :copy
:on-press #(react/copy-to-clipboard
(components.reply/get-quoted-text-with-mentions
(get content :parsed-text)))
:label (i18n/label :t/sharing-copy-to-clipboard)}])))