|
|
@ -94,7 +94,7 @@ class UserBottomSheetView extends StatelessWidget {
|
|
|
|
if (user.canBan && user.membership != Membership.ban)
|
|
|
|
if (user.canBan && user.membership != Membership.ban)
|
|
|
|
ListTile(
|
|
|
|
ListTile(
|
|
|
|
title: Text(L10n.of(context)!.banFromChat),
|
|
|
|
title: Text(L10n.of(context)!.banFromChat),
|
|
|
|
trailing: const Icon(Icons.warning_sharp),
|
|
|
|
leading: const Icon(Icons.warning_sharp),
|
|
|
|
onTap: () =>
|
|
|
|
onTap: () =>
|
|
|
|
controller.participantAction(UserBottomSheetAction.ban),
|
|
|
|
controller.participantAction(UserBottomSheetAction.ban),
|
|
|
|
)
|
|
|
|
)
|
|
|
|