From 11d68436b5af6c3830885f35d15b98a46bc0cc09 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 20 Sep 2016 12:54:21 +0300 Subject: [PATCH] fixes #231 --- src/status_im/chat/handlers/animation.cljs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/status_im/chat/handlers/animation.cljs b/src/status_im/chat/handlers/animation.cljs index 487407a6ab..3547154f3d 100644 --- a/src/status_im/chat/handlers/animation.cljs +++ b/src/status_im/chat/handlers/animation.cljs @@ -22,10 +22,6 @@ (def response-height (+ input-height response-height-normal)) -(defn update-response-height - [{:keys [current-chat-id] :as db}] - (assoc-in db [:animations :to-response-height current-chat-id] response-height)) - (register-handler :animate-command-suggestions (fn [{chat-id :current-chat-id :as db} _] (let [suggestions? (seq (get-in db [:command-suggestions chat-id])) @@ -47,7 +43,7 @@ suggestion? (get-in db [:has-suggestions? current-chat-id]) custom-errors (get-in db [:custom-validation-errors current-chat-id]) validation-height (if (or (seq errors) (seq custom-errors)) - (+ suggestions-header-height request-info-height) + request-info-height 0)] (+ validation-height (if (= :response type)