Skip to content

Commit

Permalink
TW-1734 Update condition for remove from group
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed May 2, 2024
1 parent 72bd37b commit 2849382
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class ProfileInfoBodyController extends State<ProfileInfoBody> {
List<ProfileInfoActions> profileInfoActions() {
return [
ProfileInfoActions.sendMessage,
ProfileInfoActions.removeFromGroup,
if (user!.canKick) ProfileInfoActions.removeFromGroup,
];
}

Expand Down

0 comments on commit 2849382

Please sign in to comment.