hide overlay

This commit is contained in:
Andrey Shovkoplyas 2017-04-21 12:59:29 +03:00 committed by Roman Volosovskyi
parent 6da18d3fca
commit e86e622924

View File

@ -118,7 +118,7 @@
accounts [:get :accounts] accounts [:get :accounts]
show-chat-overlay? [:show-chat-overlay?] show-chat-overlay? [:show-chat-overlay?]
creating? [:get :creating-account?]] creating? [:get :creating-account?]]
[view (when show-chat-overlay? {:style {:zIndex 0}}) [view ;(when show-chat-overlay? {:style {:zIndex 0}}) TODO we need implement animation and solve translucent? status-bar issue on android
[status-bar] [status-bar]
[toolbar {:hide-nav? (or (empty? accounts) show-actions? creating?) [toolbar {:hide-nav? (or (empty? accounts) show-actions? creating?)
:custom-content [toolbar-content-view] :custom-content [toolbar-content-view]
@ -192,7 +192,7 @@
(dispatch [:set-layout-height height]))))} (dispatch [:set-layout-height height]))))}
[chat-toolbar] [chat-toolbar]
[messages-view group-chat] [messages-view group-chat]
[overlay-view] ;[overlay-view] TODO we need implement animation and solve translucent? status-bar issue on android
[input/container {:text-empty? (str/blank? input-text)}] [input/container {:text-empty? (str/blank? input-text)}]
(when show-actions? (when show-actions?
[actions-view]) [actions-view])