From 0ef09b57e857d1e4c27b6eb00cf1d1ed8b002d33 Mon Sep 17 00:00:00 2001 From: virvar Date: Mon, 6 Jun 2016 18:59:52 +0300 Subject: [PATCH] Fix message input view --- src/status_im/chat/views/message_input.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/chat/views/message_input.cljs b/src/status_im/chat/views/message_input.cljs index 0d170c83d3..c8d81a30b6 100644 --- a/src/status_im/chat/views/message_input.cljs +++ b/src/status_im/chat/views/message_input.cljs @@ -53,7 +53,7 @@ [animated-view {:style (st/message-input-container message-input-offset)} input])}))) -(defview message-input [] +(defview message-input [input-options validator] [input-message [:get-chat-input-text] command [:get-chat-command] to-msg-id [:get-chat-command-to-msg-id] @@ -110,7 +110,7 @@ (when (and command (not response?)) [command/command-icon command response?])) [message-input-container - [message-input]] + [message-input input-options validator]] ;; TODO emoticons: not implemented (when message-input? [plain-message/smile-button])