mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
5280f3d9a0
commit
44b10850ed
@ -25,7 +25,7 @@
|
|||||||
to-change-height (if (= to-changed-height :max)
|
to-change-height (if (= to-changed-height :max)
|
||||||
(input-utils/max-container-area-height @chat-input-margin @layout-height)
|
(input-utils/max-container-area-height @chat-input-margin @layout-height)
|
||||||
to-changed-height)
|
to-changed-height)
|
||||||
to-value (or to-change-height (or height @to-default-height))]
|
to-value (or to-change-height height @to-default-height)]
|
||||||
(re-frame/dispatch [:set :expandable-view-height-to-value to-value])
|
(re-frame/dispatch [:set :expandable-view-height-to-value to-value])
|
||||||
(animation/start
|
(animation/start
|
||||||
(animation/spring anim-value {:toValue to-value
|
(animation/spring anim-value {:toValue to-value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user