fix composer misses shadow and swipe rectangle element (#19805)
This commit is contained in:
parent
8fc6f4776b
commit
2ec6a3ed06
|
@ -90,7 +90,7 @@
|
|||
|
||||
(defn initialize
|
||||
[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
|
||||
(fn []
|
||||
(maximized-effect state animations dimensions chat-input)
|
||||
|
@ -99,10 +99,13 @@
|
|||
(background-effect state animations dimensions chat-input)
|
||||
(link-preview-effect state)
|
||||
(audio-effect state audio)
|
||||
(empty-effect animations subscriptions)
|
||||
(kb/add-kb-listeners props state animations dimensions)
|
||||
#(component-will-unmount props))
|
||||
[max-height])
|
||||
(rn/use-effect
|
||||
(fn []
|
||||
(empty-effect animations subscriptions))
|
||||
[input-text images link-previews? reply])
|
||||
(rn/use-effect
|
||||
(fn []
|
||||
(reenter-screen-effect state dimensions subscriptions animations))
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
(drag-gesture/drag-gesture props state animations dimensions keyboard-shown)}
|
||||
[reanimated/view
|
||||
{:style (style/sheet-container insets animations theme)}
|
||||
[sub-view/bar]
|
||||
[sub-view/bar theme]
|
||||
[:<>
|
||||
[reply/view state (:input-ref props)]
|
||||
[edit/view
|
||||
|
|
Loading…
Reference in New Issue