From 6a7d14a3f8478e259aa66948c7e8f572cabd1b5f Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 3 Apr 2025 18:04:41 +0800 Subject: [PATCH] fix: view reply Signed-off-by: bggRGjQaUbCoE --- lib/pages/dynamics/detail/view.dart | 6 +++--- lib/pages/html/view.dart | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/dynamics/detail/view.dart b/lib/pages/dynamics/detail/view.dart index 90f94114a..24b2c9d92 100644 --- a/lib/pages/dynamics/detail/view.dart +++ b/lib/pages/dynamics/detail/view.dart @@ -165,7 +165,7 @@ class _DynamicDetailPageState extends State } // 查看二级评论 - void replyReply(context, replyItem, id, isTop) { + void replyReply(context, replyItem, id) { EasyThrottle.throttle('replyReply', const Duration(milliseconds: 500), () { int oid = replyItem.oid.toInt(); int rpid = replyItem.id.toInt(); @@ -814,8 +814,8 @@ class _DynamicDetailPageState extends State replyItem: loadingState.response.replies[index], showReplyRow: true, replyLevel: '1', - replyReply: (replyItem, id, isTop) => - replyReply(context, replyItem, id, isTop), + replyReply: (replyItem, id) => + replyReply(context, replyItem, id), replyType: ReplyType.values[replyType], onReply: () { _dynamicDetailController.onReply( diff --git a/lib/pages/html/view.dart b/lib/pages/html/view.dart index 1ca4d3a33..360bc64c4 100644 --- a/lib/pages/html/view.dart +++ b/lib/pages/html/view.dart @@ -162,7 +162,7 @@ class _HtmlRenderPageState extends State } } - void replyReply(context, replyItem, id, isTop) { + void replyReply(context, replyItem, id) { EasyThrottle.throttle('replyReply', const Duration(milliseconds: 500), () { int oid = replyItem.oid.toInt(); int rpid = replyItem.id.toInt(); @@ -787,8 +787,8 @@ class _HtmlRenderPageState extends State replyItem: loadingState.response.replies[index], showReplyRow: true, replyLevel: '1', - replyReply: (replyItem, id, isTop) => - replyReply(context, replyItem, id, isTop), + replyReply: (replyItem, id) => + replyReply(context, replyItem, id), replyType: ReplyType.values[type], onReply: () { _htmlRenderCtr.onReply(