fix: disable edit image message until it's implemented (#15496)
This commit is contained in:
parent
e825f930fa
commit
ac2d10bc5d
|
@ -27,6 +27,10 @@
|
||||||
(concat
|
(concat
|
||||||
(when (and outgoing
|
(when (and outgoing
|
||||||
(not (or deleted? deleted-for-me?))
|
(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))
|
(not= content-type constants/content-type-audio))
|
||||||
[{:type :main
|
[{:type :main
|
||||||
:on-press #(rf/dispatch [:chat.ui/edit-message message-data])
|
:on-press #(rf/dispatch [:chat.ui/edit-message message-data])
|
||||||
|
|
Loading…
Reference in New Issue