This commit is contained in:
Gustavo Nunes 2017-05-25 02:54:04 -03:00 committed by Roman Volosovskyi
parent a623c02d53
commit 1119142913
1 changed files with 5 additions and 4 deletions

View File

@ -85,10 +85,11 @@
[list-view {:dataSource (to-datasource chats)
:renderRow (fn [[id :as row] _ _]
(list-item ^{:key id} [chat-list-item row edit?]))
:renderHeader renderers/list-header-renderer
:renderFooter #(list-item [view
:renderHeader (when-not (empty? chats) renderers/list-header-renderer)
:renderFooter (when-not (empty? chats)
#(list-item [view
[common/list-footer]
[common/bottom-shadow]])
[common/bottom-shadow]]))
:renderSeparator renderers/list-separator-renderer
:style (st/list-container tabs-hidden?)}]
(when (and (not edit?)