fix: Requirements when to display report event button

onboarding
Christian Pauly 4 years ago
parent 04a092aefd
commit ab063bee5f

@ -163,7 +163,7 @@ class ChatView extends StatelessWidget {
tooltip: L10n.of(context).copy, tooltip: L10n.of(context).copy,
onPressed: controller.copyEventsAction, onPressed: controller.copyEventsAction,
), ),
if (controller.canRedactSelectedEvents) if (controller.selectedEvents.length == 1)
IconButton( IconButton(
icon: Icon(Icons.report_outlined), icon: Icon(Icons.report_outlined),
tooltip: L10n.of(context).reportMessage, tooltip: L10n.of(context).reportMessage,

Loading…
Cancel
Save