Fix: manage members gesture (#19949)

Fix: manage members gesture (#19949)
This commit is contained in:
Omar Basem 2024-05-10 09:16:57 +04:00 committed by GitHub
parent 52a6f5c17d
commit c40853456b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@
item]))))
(defn add-manage-members
[]
[{:keys [scroll-enabled? on-scroll]}]
(let [selected-participants (rf/sub [:group-chat/selected-participants])
deselected-members (rf/sub [:group-chat/deselected-members])
chat-id (rf/sub [:get-screen-params :group-add-manage-members])
@ -62,6 +62,8 @@
(i18n/label :t/manage-members)]
[gesture/section-list
{:key-fn :title
:scroll-enabled @scroll-enabled?
:on-scroll on-scroll
:sticky-section-headers-enabled false
:sections (rf/sub [:contacts/grouped-by-first-letter])
:render-section-header-fn contact-list/contacts-section-header