fix #24 black 'hit' states on button

Former-commit-id: 8f7e1d6aa5
This commit is contained in:
Roman Volosovskyi 2016-04-25 18:04:28 +03:00
parent 5cc01ad2d9
commit 248f80df40
3 changed files with 6 additions and 3 deletions

View File

@ -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}

View File

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

View File

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