[#10084] Make commands in chat available on Ropsten for e2e builds
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
4d0fd4389e
commit
5301d421f2
1
.env.e2e
1
.env.e2e
|
@ -20,3 +20,4 @@ CONTRACT_NODES=1
|
|||
MOBILE_UI_FOR_DESKTOP=1
|
||||
BLANK_PREVIEW=0
|
||||
TOOLTIP_EVENTS=1
|
||||
COMMANDS_ENABLED=1
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
[input-view {:single-line-input? single-line-input? :set-text set-text :state-text state-text}]
|
||||
(when (and input-text-empty? mainnet?)
|
||||
[stickers/button (= :stickers input-bottom-sheet)])
|
||||
(when (and one-to-one-chat? input-text-empty? mainnet?)
|
||||
(when (and one-to-one-chat? input-text-empty? (or config/commands-enabled? mainnet?))
|
||||
[extensions/button (= :extensions input-bottom-sheet)])
|
||||
(when-not input-text-empty?
|
||||
(if platform/desktop?
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
(def tooltip-events? (enabled? (get-config :TOOLTIP_EVENTS "0")))
|
||||
(def nimbus-enabled? (enabled? (get-config :STATUS_GO_ENABLE_NIMBUS "0")))
|
||||
(def waku-enabled? (enabled? (get-config :WAKU_ENABLED "0")))
|
||||
(def commands-enabled? (enabled? (get-config :COMMANDS_ENABLED "0")))
|
||||
|
||||
;; CONFIG VALUES
|
||||
(def log-level
|
||||
|
|
Loading…
Reference in New Issue