From 44b10850ed385378b2e03cb36fe7248774c45dbc Mon Sep 17 00:00:00 2001 From: alwxndr Date: Mon, 19 Feb 2018 15:18:07 +0100 Subject: [PATCH] fix Signed-off-by: Andrey Shovkoplyas --- src/status_im/chat/views/input/animations/expandable.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/chat/views/input/animations/expandable.cljs b/src/status_im/chat/views/input/animations/expandable.cljs index 074a09b530..45d6e15005 100644 --- a/src/status_im/chat/views/input/animations/expandable.cljs +++ b/src/status_im/chat/views/input/animations/expandable.cljs @@ -25,7 +25,7 @@ to-change-height (if (= to-changed-height :max) (input-utils/max-container-area-height @chat-input-margin @layout-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]) (animation/start (animation/spring anim-value {:toValue to-value