Compare commits

...
Author SHA1 Message Date
Ajay Sivan fdc54bba9e Replace status-im.ui.components.react in status-im2 2023-09-27 14:30:59 +05:30
@@ -1,7 +1,6 @@
(ns status-im2.contexts.chat.messages.drawers.view
(:require [quo2.core :as quo]
[react-native.core :as rn]
[status-im.ui.components.react :as react]
[status-im2.contexts.chat.composer.reply.view :as reply]
[status-im2.constants :as constants]
[utils.i18n :as i18n]
@@ -10,7 +9,8 @@
[status-im2.common.contact-list-item.view :as contact-list-item]
[status-im2.contexts.chat.messages.drawers.style :as style]
[react-native.gesture :as gesture]
[quo2.components.reactions.resource :as reactions.resource]))
[quo2.components.reactions.resource :as reactions.resource]
[react-native.clipboard :as clipboard]))
(defn contact-list-item-fn
[{:keys [from compressed-key]}]
@@ -118,7 +118,7 @@
(when (and (not (or deleted? deleted-for-me?))
(not= content-type constants/content-type-audio))
[{:type :main
:on-press #(react/copy-to-clipboard
:on-press #(clipboard/set-string
(reply/get-quoted-text-with-mentions
(get content :parsed-text)))
:label (i18n/label :t/copy-text)