mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
hide not implemented comopser features (#19901)
This commit is contained in:
parent
4eaf832b43
commit
5fc9722992
@ -8,6 +8,7 @@
|
|||||||
[reagent.core :as reagent]
|
[reagent.core :as reagent]
|
||||||
[status-im.common.alert.effects :as alert.effects]
|
[status-im.common.alert.effects :as alert.effects]
|
||||||
[status-im.common.device-permissions :as device-permissions]
|
[status-im.common.device-permissions :as device-permissions]
|
||||||
|
[status-im.config :as config]
|
||||||
[status-im.constants :as constants]
|
[status-im.constants :as constants]
|
||||||
[status-im.contexts.chat.messenger.composer.actions.style :as style]
|
[status-im.contexts.chat.messenger.composer.actions.style :as style]
|
||||||
[status-im.contexts.chat.messenger.composer.constants :as comp-constants]
|
[status-im.contexts.chat.messenger.composer.constants :as comp-constants]
|
||||||
@ -235,10 +236,12 @@
|
|||||||
:display (if @(:recording? state) :none :flex)}}
|
:display (if @(:recording? state) :none :flex)}}
|
||||||
[camera-button edit]
|
[camera-button edit]
|
||||||
[image-button props animations edit]
|
[image-button props animations edit]
|
||||||
[reaction-button]
|
(when config/show-not-implemented-features?
|
||||||
[format-button]]
|
[reaction-button])
|
||||||
|
(when config/show-not-implemented-features?
|
||||||
|
[format-button])]
|
||||||
[:f> send-button props state animations window-height images edit send-btn-opacity]
|
[:f> send-button props state animations window-height images edit send-btn-opacity]
|
||||||
(when (and (not edit) (not images))
|
(when (and (not edit) (not images) config/show-not-implemented-features?)
|
||||||
;; TODO(alwx): needs to be replaced with an `audio-button` later. See
|
;; TODO(alwx): needs to be replaced with an `audio-button` later. See
|
||||||
;; https://github.com/status-im/status-mobile/issues/16084 for more details.
|
;; https://github.com/status-im/status-mobile/issues/16084 for more details.
|
||||||
[:f> disabled-audio-button audio-btn-opacity])]))
|
[:f> disabled-audio-button audio-btn-opacity])]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user