Skip to content

Commit

Permalink
fixed reloading contacts when scrolling after selecting/unselected to…
Browse files Browse the repository at this point in the history
… add to a group chat
  • Loading branch information
jo-mut committed Jul 1, 2024
1 parent 0d9bedf commit efd8a5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/status_im/contexts/chat/group_details/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
item])))))

(defn add-manage-members
[{:keys [scroll-enabled? on-scroll]}]
[]
(let [theme (quo.theme/use-theme)
selected-participants (rf/sub [:group-chat/selected-participants])
deselected-members (rf/sub [:group-chat/deselected-members])
Expand All @@ -71,8 +71,6 @@
(i18n/label (if admin? :t/manage-members :t/add-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
Expand Down

0 comments on commit efd8a5a

Please sign in to comment.