parent
5cc01ad2d9
commit
248f80df40
|
@ -176,7 +176,8 @@
|
|||
(let [commands @commands-atom
|
||||
{:keys [command content]} (parse-command-request-msg-content commands content)]
|
||||
[touchable-highlight {:onPress (fn []
|
||||
(set-chat-command msg-id command))}
|
||||
(set-chat-command msg-id command))
|
||||
:underlay-color :transparent}
|
||||
[view {:style {:paddingRight 16}}
|
||||
[view {:style (merge {:borderRadius 14
|
||||
:padding 12}
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
message]
|
||||
(if (< 0 (count message))
|
||||
[touchable-highlight {:on-press (fn []
|
||||
(send-command chat-id command message))}
|
||||
(send-command chat-id command message))
|
||||
:underlay-color :transparent}
|
||||
[view {:style {:marginTop 10
|
||||
:marginRight 10
|
||||
:width 36
|
||||
|
|
|
@ -70,7 +70,8 @@
|
|||
(when (or (< 0 (count input-message))
|
||||
(< 0 (count @staged-commands-atom)))
|
||||
[touchable-highlight {:on-press (fn []
|
||||
(send @chat input-message))}
|
||||
(send @chat input-message))
|
||||
:underlay-color :transparent}
|
||||
[view {:style {:marginTop 10
|
||||
:marginRight 10
|
||||
:width 36
|
||||
|
|
Loading…
Reference in New Issue