Fix: manage members gesture (#19949)
Fix: manage members gesture (#19949)
This commit is contained in:
parent
52a6f5c17d
commit
c40853456b
|
@ -43,7 +43,7 @@
|
||||||
item]))))
|
item]))))
|
||||||
|
|
||||||
(defn add-manage-members
|
(defn add-manage-members
|
||||||
[]
|
[{:keys [scroll-enabled? on-scroll]}]
|
||||||
(let [selected-participants (rf/sub [:group-chat/selected-participants])
|
(let [selected-participants (rf/sub [:group-chat/selected-participants])
|
||||||
deselected-members (rf/sub [:group-chat/deselected-members])
|
deselected-members (rf/sub [:group-chat/deselected-members])
|
||||||
chat-id (rf/sub [:get-screen-params :group-add-manage-members])
|
chat-id (rf/sub [:get-screen-params :group-add-manage-members])
|
||||||
|
@ -62,6 +62,8 @@
|
||||||
(i18n/label :t/manage-members)]
|
(i18n/label :t/manage-members)]
|
||||||
[gesture/section-list
|
[gesture/section-list
|
||||||
{:key-fn :title
|
{:key-fn :title
|
||||||
|
:scroll-enabled @scroll-enabled?
|
||||||
|
:on-scroll on-scroll
|
||||||
:sticky-section-headers-enabled false
|
:sticky-section-headers-enabled false
|
||||||
:sections (rf/sub [:contacts/grouped-by-first-letter])
|
:sections (rf/sub [:contacts/grouped-by-first-letter])
|
||||||
:render-section-header-fn contact-list/contacts-section-header
|
:render-section-header-fn contact-list/contacts-section-header
|
||||||
|
|
Loading…
Reference in New Issue