Fixed leave group button visible when creating new group
This commit is contained in:
parent
55b0bd6806
commit
7d0653089d
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
}
|
||||
}
|
||||
});
|
||||
mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.hasBeenLeft() ? View.GONE : View.VISIBLE);
|
||||
mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.hasBeenLeft() ? View.GONE : mIsAlreadyCreatedGroup ? View.VISIBLE : View.GONE);
|
||||
|
||||
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
||||
mAddParticipantsButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
Loading…
Reference in a new issue