Merge branch 'refactoring-rebase' into styles
This commit is contained in:
commit
ede2ca40ee
|
@ -30,5 +30,6 @@
|
||||||
[view st/participants-container
|
[view st/participants-container
|
||||||
[new-participants-toolbar navigator]
|
[new-participants-toolbar navigator]
|
||||||
[list-view {:dataSource contacts-ds
|
[list-view {:dataSource contacts-ds
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow (new-participants-row navigator)
|
:renderRow (new-participants-row navigator)
|
||||||
:style st/participants-list}]]))))
|
:style st/participants-list}]]))))
|
||||||
|
|
|
@ -31,5 +31,6 @@
|
||||||
[view st/participants-container
|
[view st/participants-container
|
||||||
[remove-participants-toolbar navigator]
|
[remove-participants-toolbar navigator]
|
||||||
[list-view {:dataSource contacts-ds
|
[list-view {:dataSource contacts-ds
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow (remove-participants-row navigator)
|
:renderRow (remove-participants-row navigator)
|
||||||
:style st/participants-list}]]))))
|
:style st/participants-list}]]))))
|
||||||
|
|
|
@ -33,5 +33,6 @@
|
||||||
(when (seq suggestions)
|
(when (seq suggestions)
|
||||||
[view (st/suggestions-container suggestions)
|
[view (st/suggestions-container suggestions)
|
||||||
[list-view {:dataSource (to-datasource suggestions)
|
[list-view {:dataSource (to-datasource suggestions)
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow render-row
|
:renderRow render-row
|
||||||
:style {}}]])))))
|
:style {}}]])))))
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
:backgroundColor "white"}}
|
:backgroundColor "white"}}
|
||||||
[chats-list-toolbar]
|
[chats-list-toolbar]
|
||||||
[list-view {:dataSource datasource
|
[list-view {:dataSource datasource
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow (fn [row section-id row-id]
|
:renderRow (fn [row section-id row-id]
|
||||||
(r/as-element [chat-list-item row navigator]))
|
(r/as-element [chat-list-item row navigator]))
|
||||||
:style {:backgroundColor "white"}}]
|
:style {:backgroundColor "white"}}]
|
||||||
|
|
|
@ -84,6 +84,7 @@
|
||||||
:lineHeight 20}}
|
:lineHeight 20}}
|
||||||
"Add members"]]]
|
"Add members"]]]
|
||||||
[list-view {:dataSource contacts-ds
|
[list-view {:dataSource contacts-ds
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow (fn [row section-id row-id]
|
:renderRow (fn [row section-id row-id]
|
||||||
(r/as-element [new-group-contact (js->clj row :keywordize-keys true) navigator]))
|
(r/as-element [new-group-contact (js->clj row :keywordize-keys true) navigator]))
|
||||||
:style {:backgroundColor "white"}}]]]))))
|
:style {:backgroundColor "white"}}]]]))))
|
||||||
|
|
|
@ -47,5 +47,6 @@
|
||||||
[contact-list-toolbar navigator]
|
[contact-list-toolbar navigator]
|
||||||
(when contacts-ds
|
(when contacts-ds
|
||||||
[list-view {:dataSource contacts-ds
|
[list-view {:dataSource contacts-ds
|
||||||
|
:enableEmptySections true
|
||||||
:renderRow (partial render-row navigator)
|
:renderRow (partial render-row navigator)
|
||||||
:style {:backgroundColor "white"}}])]))))
|
:style {:backgroundColor "white"}}])]))))
|
||||||
|
|
Loading…
Reference in New Issue