mod: disable preload reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-12 09:40:29 +08:00
parent 1781fdb7ca
commit 4d3f739a0c
3 changed files with 9 additions and 4 deletions

View File

@@ -162,6 +162,13 @@ class VideoIntroController extends GetxController
videoDetailController.isQuerying.not)) {
videoDetailController.videoItem['pic'] = data.pic;
}
if (videoDetailController.showReply) {
try {
final videoReplyController =
Get.find<VideoReplyController>(tag: heroTag);
videoReplyController.count.value = data.stat?.reply ?? 0;
} catch (_) {}
}
} catch (_) {}
if (videoDetail.value.pages != null &&
videoDetail.value.pages!.isNotEmpty &&