From 8c1d2eec1afe421b5419d87598a01f9b832fc86a Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 21 Jun 2016 10:56:11 +0300 Subject: [PATCH] command animation --- src/status_im/chat/handlers.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status_im/chat/handlers.cljs b/src/status_im/chat/handlers.cljs index 05f1bef3a7..9c33efff4f 100644 --- a/src/status_im/chat/handlers.cljs +++ b/src/status_im/chat/handlers.cljs @@ -253,9 +253,11 @@ (commands/unstage-command db staged-command))) (register-handler :set-chat-command + (after #(dispatch [:animate-show-response])) (fn [db [_ command-key]] - ;; todo what is going on there?! - (commands/set-chat-command db command-key))) + (-> db + (commands/set-chat-command command-key) + (assoc-in [:animations :command?] true)))) (register-handler :init-console-chat (fn [db [_]]