Skip to content

Commit 255352e

Browse files
committed
review
1 parent ac710d0 commit 255352e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/status_im2/config.cljs

+2
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,5 @@
158158
["enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@test.waku.nodes.status.im"]})
159159

160160
(def default-kdf-iterations 3200)
161+
162+
(def ^:const new-composer-enabled? true)

src/status_im2/constants.cljs

-2
Original file line numberDiff line numberDiff line change
@@ -336,5 +336,3 @@
336336
(def ^:const auth-method-biometric "biometric")
337337
(def ^:const auth-method-biometric-prepare "biometric-prepare")
338338
(def ^:const auth-method-none "none")
339-
340-
(def ^:const new-composer-enabled? true)

src/status_im2/contexts/chat/messages/view.cljs

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[react-native.core :as rn]
55
[react-native.safe-area :as safe-area]
66
[reagent.core :as reagent]
7+
[status-im2.config :as config]
78
[status-im2.constants :as constants]
89
[status-im2.contexts.chat.bottom-sheet-composer.view :as bottom-sheet-composer]
910
[status-im2.contexts.chat.messages.composer.view :as composer]
@@ -77,12 +78,12 @@
7778
:keyboardVerticalOffset (- (:bottom insets))}
7879
[page-nav]
7980
[pin.banner/banner chat-id]
80-
(if constants/new-composer-enabled?
81+
(if config/new-composer-enabled?
8182
[messages.list.new/messages-list chat insets]
8283
[messages.list/messages-list chat insets])
8384
(if-not able-to-send-message?
8485
[contact-requests.bottom-drawer/view chat-id contact-request-state group-chat]
85-
(if constants/new-composer-enabled?
86+
(if config/new-composer-enabled?
8687
[bottom-sheet-composer/bottom-sheet-composer insets]
8788
[:f> composer/f-composer chat-id insets]))]))
8889

0 commit comments

Comments
 (0)