Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35e6f748 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Update state of menu items when group members are loaded

Bug 30565153

Change-Id: Ic9b364248d1f366a43e7433f0c64d01f1afd3c35
parent a2afb70d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -288,6 +288,8 @@ public class GroupMembersFragment extends MultiSelectContactsListFragment<GroupM
            final FilterCursorWrapper cursorWrapper = new FilterCursorWrapper(data);
            bindMembersCount(cursorWrapper.getCount());
            super.onLoadFinished(loader, cursorWrapper);
            // Update state of menu items (e.g. "Remove contacts") based on number of group members.
            getActivity().invalidateOptionsMenu();
        }
    }