diff --git a/lib/community/community_view/community_dynamic.dart b/lib/community/community_view/community_dynamic.dart index e9ad6b2c..34f56328 100644 --- a/lib/community/community_view/community_dynamic.dart +++ b/lib/community/community_view/community_dynamic.dart @@ -205,7 +205,7 @@ class _CommunityDynamic extends State { ], ), ), - if(widget.comment.memberInfo.mid != widget.userId??"") + if(widget?.comment?.memberInfo?.mid != widget.userId??"") GestureDetector( onTap: () { setState(() {