mirror of
https://github.com/status-im/status-react.git
synced 2025-01-15 13:37:39 +00:00
fix composer misses shadow and swipe rectangle element (#19805)
This commit is contained in:
parent
8fc6f4776b
commit
2ec6a3ed06
@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
(defn initialize
|
(defn initialize
|
||||||
[props state animations {:keys [max-height] :as dimensions}
|
[props state animations {:keys [max-height] :as dimensions}
|
||||||
{:keys [chat-input audio] :as subscriptions}]
|
{:keys [chat-input audio input-text images link-previews? reply] :as subscriptions}]
|
||||||
(rn/use-effect
|
(rn/use-effect
|
||||||
(fn []
|
(fn []
|
||||||
(maximized-effect state animations dimensions chat-input)
|
(maximized-effect state animations dimensions chat-input)
|
||||||
@ -99,10 +99,13 @@
|
|||||||
(background-effect state animations dimensions chat-input)
|
(background-effect state animations dimensions chat-input)
|
||||||
(link-preview-effect state)
|
(link-preview-effect state)
|
||||||
(audio-effect state audio)
|
(audio-effect state audio)
|
||||||
(empty-effect animations subscriptions)
|
|
||||||
(kb/add-kb-listeners props state animations dimensions)
|
(kb/add-kb-listeners props state animations dimensions)
|
||||||
#(component-will-unmount props))
|
#(component-will-unmount props))
|
||||||
[max-height])
|
[max-height])
|
||||||
|
(rn/use-effect
|
||||||
|
(fn []
|
||||||
|
(empty-effect animations subscriptions))
|
||||||
|
[input-text images link-previews? reply])
|
||||||
(rn/use-effect
|
(rn/use-effect
|
||||||
(fn []
|
(fn []
|
||||||
(reenter-screen-effect state dimensions subscriptions animations))
|
(reenter-screen-effect state dimensions subscriptions animations))
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
(drag-gesture/drag-gesture props state animations dimensions keyboard-shown)}
|
(drag-gesture/drag-gesture props state animations dimensions keyboard-shown)}
|
||||||
[reanimated/view
|
[reanimated/view
|
||||||
{:style (style/sheet-container insets animations theme)}
|
{:style (style/sheet-container insets animations theme)}
|
||||||
[sub-view/bar]
|
[sub-view/bar theme]
|
||||||
[:<>
|
[:<>
|
||||||
[reply/view state (:input-ref props)]
|
[reply/view state (:input-ref props)]
|
||||||
[edit/view
|
[edit/view
|
||||||
|
Loading…
x
Reference in New Issue
Block a user