showReportDialog function

void showReportDialog(
  1. dynamic context,
  2. dynamic pin
)

Implementation

void showReportDialog(BuildContext context, ActerPin pin) {
  openReportContentDialog(
    context,
    title: L10n.of(context).reportThisPin,
    description: L10n.of(context).reportThisContent,
    eventId: pin.eventIdStr(),
    roomId: pin.roomIdStr(),
    senderId: pin.sender().toString(),
    isSpace: true,
  );
}