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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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])