showReportDialog function
- dynamic context,
- dynamic pin
Implementation
Future<void> showReportDialog(BuildContext context, ActerPin pin) async {
final lang = L10n.of(context);
await openReportContentDialog(
context,
title: lang.reportThisPin,
description: lang.reportThisContent,
eventId: pin.eventIdStr(),
roomId: pin.roomIdStr(),
senderId: pin.sender().toString(),
isSpace: true,
);
}