Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed Feb 21, 2024
1 parent b78426b commit c6b5fed
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/status_im/contexts/chat/messenger/composer/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
[{:keys [insets
chat-list-scroll-y
chat-screen-layout-calculations-complete?
window-height
theme]}
shared-values]
(let [subscriptions (utils/init-subs)
props (utils/init-non-reactive-state)
state (utils/init-reactive-state)
window-height (:height (rn/get-window))
content-height (reagent/atom (or (:input-content-height ; Actual text height
subscriptions)
constants/input-height))
Expand Down Expand Up @@ -137,16 +137,12 @@

(defn f-composer
[props]
(let [window-height (:height (rn/get-window))
theme (quo.theme/use-theme-value)
(let [theme (quo.theme/use-theme-value)
composer-default-height (+ constants/composer-default-height (:bottom (:insets props)))
shared-values (utils/shared-values composer-default-height)
extra-params (assoc props
:window-height window-height
:theme theme)]
shared-values (utils/shared-values composer-default-height)]
[:<>
[reanimated/view {:style (style/background-overlay shared-values)}]
[:f> sheet-component extra-params shared-values]
[:f> sheet-component props shared-values theme]
[reanimated/view {:style (style/blur-container composer-default-height shared-values)}
[blur/view (style/blur-view theme)]]]))

Expand Down

0 comments on commit c6b5fed

Please sign in to comment.