parent
6037fe80c4
commit
d4be3a6976
|
@ -106,10 +106,7 @@
|
|||
(fn []
|
||||
(empty-effect animations subscriptions))
|
||||
[input-text images link-previews? reply])
|
||||
(rn/use-effect
|
||||
(fn []
|
||||
(reenter-screen-effect state dimensions subscriptions animations))
|
||||
[max-height subscriptions]))
|
||||
(rn/use-mount #(reenter-screen-effect state dimensions subscriptions animations)))
|
||||
|
||||
(defn use-edit
|
||||
[{:keys [input-ref]}
|
||||
|
|
|
@ -32,8 +32,10 @@
|
|||
(reanimated/set-shared-value saved-height max-height)
|
||||
(reanimated/set-shared-value background-y 0)
|
||||
(reanimated/animate opacity 1)
|
||||
(reset! maximized? true)
|
||||
(rf/dispatch [:chat.ui/set-input-maximized true]))
|
||||
(js/setTimeout (fn []
|
||||
(reset! maximized? true)
|
||||
(rf/dispatch [:chat.ui/set-input-maximized true]))
|
||||
300))
|
||||
|
||||
(defn minimize
|
||||
[{:keys [input-ref emoji-kb-extra-height saved-emoji-kb-extra-height]}
|
||||
|
|
Loading…
Reference in New Issue