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 25, 2024
1 parent cee2124 commit 3ab44d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 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]}]
[{:keys [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,7 +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])
Expand Down

0 comments on commit 3ab44d7

Please sign in to comment.