fix: disable edit image message until it's implemented (#15496)

This commit is contained in:
yqrashawn
2023-03-28 17:04:01 +08:00
committed by GitHub
parent e825f930fa
commit ac2d10bc5d
@@ -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])