[#12451] Fix copy icon in message actions
This commit is contained in:
parent
ad9dc9913f
commit
02277be602
|
@ -78,7 +78,8 @@
|
||||||
(defn on-long-press-fn [on-long-press content image]
|
(defn on-long-press-fn [on-long-press content image]
|
||||||
(on-long-press
|
(on-long-press
|
||||||
(when-not image
|
(when-not image
|
||||||
[{:on-press #(react/copy-to-clipboard
|
[{:id :copy
|
||||||
|
:on-press #(react/copy-to-clipboard
|
||||||
(components.reply/get-quoted-text-with-mentions
|
(components.reply/get-quoted-text-with-mentions
|
||||||
(get content :parsed-text)))
|
(get content :parsed-text)))
|
||||||
:label (i18n/label :t/sharing-copy-to-clipboard)}])))
|
:label (i18n/label :t/sharing-copy-to-clipboard)}])))
|
||||||
|
|
Loading…
Reference in New Issue