forked from Nexus/nexus
allow banning left users
This commit is contained in:
parent
4314c88d5c
commit
0201f71e5d
1 changed files with 21 additions and 22 deletions
|
|
@ -207,15 +207,14 @@ final class const UserBottomSheet(
|
|||
targetUser: userId,
|
||||
),
|
||||
),
|
||||
) &&
|
||||
member.status == .join ||
|
||||
member.status == .invite)
|
||||
))
|
||||
Padding(
|
||||
padding: .only(top: 4),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
spacing: 8,
|
||||
children: [
|
||||
if (member.status == .join || member.status == .invite)
|
||||
M3EButton.icon(
|
||||
onPressed: () => showMembershipDialog(.kick),
|
||||
shape: .square,
|
||||
|
|
|
|||
Loading…
Reference in a new issue