Fix message input view

This commit is contained in:
virvar 2016-06-06 18:59:52 +03:00
parent 89051ce50b
commit 0ef09b57e8
1 changed files with 2 additions and 2 deletions

View File

@ -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])