fix: view reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-03 18:04:41 +08:00
parent 5b171ec044
commit 6a7d14a3f8
2 changed files with 6 additions and 6 deletions

View File

@@ -165,7 +165,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
}
// 查看二级评论
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<DynamicDetailPage>
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(

View File

@@ -162,7 +162,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
}
}
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<HtmlRenderPage>
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(