Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu committed May 20, 2024
1 parent 36196ab commit f0c0e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/comment/widgets/comment_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class _CommentCardState extends State<CommentCard> with SingleTickerProviderStat
context,
commentView: isEdit ? commentView : null,
parentCommentView: isEdit ? null : commentView,
onCommentSuccess: (commentView) => widget.onReplyEditAction?.call(commentView, isEdit),
onCommentSuccess: (commentView, isEdit) => widget.onReplyEditAction?.call(commentView, isEdit),
);
},
widget.onReportAction ?? () {},
Expand All @@ -345,7 +345,7 @@ class _CommentCardState extends State<CommentCard> with SingleTickerProviderStat
context,
commentView: isEdit ? commentView : null,
parentCommentView: isEdit ? null : commentView,
onCommentSuccess: (commentView) => widget.onReplyEditAction?.call(commentView, isEdit),
onCommentSuccess: (commentView, isEdit) => widget.onReplyEditAction?.call(commentView, isEdit),
);
},
isOwnComment: isOwnComment,
Expand Down

0 comments on commit f0c0e7f

Please sign in to comment.