mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-06 20:19:30 +01:00
fix: Requirements when to display report event button
This commit is contained in:
parent
e6358996e6
commit
8cfe2a1899
@ -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…
Reference in New Issue
Block a user