diff --git a/lib/pages/dynamics/widgets/author_panel.dart b/lib/pages/dynamics/widgets/author_panel.dart index 746e523ee..baca3b22c 100644 --- a/lib/pages/dynamics/widgets/author_panel.dart +++ b/lib/pages/dynamics/widgets/author_panel.dart @@ -301,13 +301,12 @@ class AuthorPanel extends StatelessWidget { } void _showReportDynDialog(context) { + _ReportReasonType? reasonType; + String? reasonDesc; + late final key = GlobalKey(); showDialog( context: context, builder: (context) { - _ReportReasonType? reasonType; - String? reasonDesc; - late final key = GlobalKey(); - return AlertDialog( title: Text( '举报动态',