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)} [animated-view {:style (st/message-input-container message-input-offset)}
input])}))) input])})))
(defview message-input [] (defview message-input [input-options validator]
[input-message [:get-chat-input-text] [input-message [:get-chat-input-text]
command [:get-chat-command] command [:get-chat-command]
to-msg-id [:get-chat-command-to-msg-id] to-msg-id [:get-chat-command-to-msg-id]
@ -110,7 +110,7 @@
(when (and command (not response?)) (when (and command (not response?))
[command/command-icon command response?])) [command/command-icon command response?]))
[message-input-container [message-input-container
[message-input]] [message-input input-options validator]]
;; TODO emoticons: not implemented ;; TODO emoticons: not implemented
(when message-input? (when message-input?
[plain-message/smile-button]) [plain-message/smile-button])