Skip to content

Commit

Permalink
Fixes signalapp#13857, signalapp#13859 - Update currently selected me…
Browse files Browse the repository at this point in the history
…mbers count properly
  • Loading branch information
Sagar0-0 committed Jan 8, 2025
1 parent d95a002 commit a67b74e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ public void onDestroyView() {
}

public int getSelectedMembersSize() {
if (contactSearchMediator == null) {
return 0;
}

return contactSearchMediator.getSelectedMembersSize();
}

Expand All @@ -470,11 +474,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
}

public int getSelectedContactsCount() {
if (contactSearchMediator == null) {
return 0;
}

return contactSearchMediator.getSelectedContacts().size();
return getSelectedMembersSize();
}

public int getTotalMemberCount() {
Expand Down

0 comments on commit a67b74e

Please sign in to comment.