fix #1234
This commit is contained in:
parent
a623c02d53
commit
1119142913
|
@ -85,10 +85,11 @@
|
||||||
[list-view {:dataSource (to-datasource chats)
|
[list-view {:dataSource (to-datasource chats)
|
||||||
:renderRow (fn [[id :as row] _ _]
|
:renderRow (fn [[id :as row] _ _]
|
||||||
(list-item ^{:key id} [chat-list-item row edit?]))
|
(list-item ^{:key id} [chat-list-item row edit?]))
|
||||||
:renderHeader renderers/list-header-renderer
|
:renderHeader (when-not (empty? chats) renderers/list-header-renderer)
|
||||||
:renderFooter #(list-item [view
|
:renderFooter (when-not (empty? chats)
|
||||||
[common/list-footer]
|
#(list-item [view
|
||||||
[common/bottom-shadow]])
|
[common/list-footer]
|
||||||
|
[common/bottom-shadow]]))
|
||||||
:renderSeparator renderers/list-separator-renderer
|
:renderSeparator renderers/list-separator-renderer
|
||||||
:style (st/list-container tabs-hidden?)}]
|
:style (st/list-container tabs-hidden?)}]
|
||||||
(when (and (not edit?)
|
(when (and (not edit?)
|
||||||
|
|
Loading…
Reference in New Issue