diff --git a/src/syng_im/components/chat/new_participants.cljs b/src/syng_im/components/chat/new_participants.cljs index a4bce09507..91beecf10a 100644 --- a/src/syng_im/components/chat/new_participants.cljs +++ b/src/syng_im/components/chat/new_participants.cljs @@ -30,5 +30,6 @@ [view st/participants-container [new-participants-toolbar navigator] [list-view {:dataSource contacts-ds + :enableEmptySections true :renderRow (new-participants-row navigator) :style st/participants-list}]])))) diff --git a/src/syng_im/components/chat/remove_participants.cljs b/src/syng_im/components/chat/remove_participants.cljs index ca1b9aaf7f..d9c5053c2d 100644 --- a/src/syng_im/components/chat/remove_participants.cljs +++ b/src/syng_im/components/chat/remove_participants.cljs @@ -31,5 +31,6 @@ [view st/participants-container [remove-participants-toolbar navigator] [list-view {:dataSource contacts-ds + :enableEmptySections true :renderRow (remove-participants-row navigator) :style st/participants-list}]])))) diff --git a/src/syng_im/components/chat/suggestions.cljs b/src/syng_im/components/chat/suggestions.cljs index b1654fbf53..b1bbd0d75e 100644 --- a/src/syng_im/components/chat/suggestions.cljs +++ b/src/syng_im/components/chat/suggestions.cljs @@ -33,5 +33,6 @@ (when (seq suggestions) [view (st/suggestions-container suggestions) [list-view {:dataSource (to-datasource suggestions) + :enableEmptySections true :renderRow render-row :style {}}]]))))) diff --git a/src/syng_im/components/chats/chats_list.cljs b/src/syng_im/components/chats/chats_list.cljs index 45d207a255..f102e7be6b 100644 --- a/src/syng_im/components/chats/chats_list.cljs +++ b/src/syng_im/components/chats/chats_list.cljs @@ -46,6 +46,7 @@ :backgroundColor "white"}} [chats-list-toolbar] [list-view {:dataSource datasource + :enableEmptySections true :renderRow (fn [row section-id row-id] (r/as-element [chat-list-item row navigator])) :style {:backgroundColor "white"}}] diff --git a/src/syng_im/components/chats/new_group.cljs b/src/syng_im/components/chats/new_group.cljs index d2c7ecf937..5ec1cb1066 100644 --- a/src/syng_im/components/chats/new_group.cljs +++ b/src/syng_im/components/chats/new_group.cljs @@ -84,6 +84,7 @@ :lineHeight 20}} "Add members"]]] [list-view {:dataSource contacts-ds + :enableEmptySections true :renderRow (fn [row section-id row-id] (r/as-element [new-group-contact (js->clj row :keywordize-keys true) navigator])) :style {:backgroundColor "white"}}]]])))) diff --git a/src/syng_im/components/contact_list/contact_list.cljs b/src/syng_im/components/contact_list/contact_list.cljs index 06fd584f7c..d4c3ef242c 100644 --- a/src/syng_im/components/contact_list/contact_list.cljs +++ b/src/syng_im/components/contact_list/contact_list.cljs @@ -47,5 +47,6 @@ [contact-list-toolbar navigator] (when contacts-ds [list-view {:dataSource contacts-ds + :enableEmptySections true :renderRow (partial render-row navigator) :style {:backgroundColor "white"}}])]))))