mirror of
https://github.com/status-im/status-react.git
synced 2025-03-03 03:51:01 +00:00
fix #1234
This commit is contained in:
parent
a623c02d53
commit
1119142913
@ -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
|
||||
[common/list-footer]
|
||||
[common/bottom-shadow]])
|
||||
:renderHeader (when-not (empty? chats) renderers/list-header-renderer)
|
||||
:renderFooter (when-not (empty? chats)
|
||||
#(list-item [view
|
||||
[common/list-footer]
|
||||
[common/bottom-shadow]]))
|
||||
:renderSeparator renderers/list-separator-renderer
|
||||
:style (st/list-container tabs-hidden?)}]
|
||||
(when (and (not edit?)
|
||||
|
Loading…
x
Reference in New Issue
Block a user