mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
opt reload reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -518,9 +518,11 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
// 重新请求评论
|
||||
if (videoDetailCtr.showReply) {
|
||||
try {
|
||||
Get.find<VideoReplyController>(tag: heroTag)
|
||||
..aid = aid
|
||||
..onReload();
|
||||
final replyCtr = Get.find<VideoReplyController>(tag: heroTag)
|
||||
..aid = aid;
|
||||
if (replyCtr.loadingState.value is! Loading) {
|
||||
replyCtr.onReload();
|
||||
}
|
||||
} catch (_) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user