feature: ignore from bottom sheet

This commit is contained in:
Raatty 2021-10-16 16:28:45 +13:00
commit 4719d795da
2 changed files with 16 additions and 0 deletions

View file

@ -92,6 +92,14 @@ class UserBottomSheetView extends StatelessWidget {
Icons.warning_outlined,
),
),
if (!client.ignoredUsers.contains(user.id))
PopupMenuItem(
value: 'ignore',
child: _TextWithIcon(
L10n.of(context).ignore,
Icons.block,
),
),
],
onSelected: controller.participantAction,
),