From ac2d10bc5d2001df8a45be1834dc81d3dcbe2ceb Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Tue, 28 Mar 2023 17:04:01 +0800 Subject: [PATCH] fix: disable edit image message until it's implemented (#15496) --- src/status_im2/contexts/chat/messages/drawers/view.cljs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/status_im2/contexts/chat/messages/drawers/view.cljs b/src/status_im2/contexts/chat/messages/drawers/view.cljs index eb16af6d87..89c81f6a2a 100644 --- a/src/status_im2/contexts/chat/messages/drawers/view.cljs +++ b/src/status_im2/contexts/chat/messages/drawers/view.cljs @@ -27,6 +27,10 @@ (concat (when (and outgoing (not (or deleted? deleted-for-me?)) + ;; temporarily disable edit image message until + ;; https://github.com/status-im/status-mobile/issues/15298 + ;; is implemented + (not= content-type constants/content-type-image) (not= content-type constants/content-type-audio)) [{:type :main :on-press #(rf/dispatch [:chat.ui/edit-message message-data])