mod: 番剧传递aid

This commit is contained in:
guozhigq
2024-04-21 17:38:07 +08:00
parent 72a8c33a66
commit 4813e27ae3
2 changed files with 4 additions and 1 deletions

View File

@ -236,6 +236,7 @@ class BangumiIntroController extends GetxController {
videoDetailCtr.bvid = bvid;
videoDetailCtr.cid.value = cid;
videoDetailCtr.danmakuCid.value = cid;
videoDetailCtr.oid.value = aid;
videoDetailCtr.queryVideoUrl();
// 重新请求评论
try {

View File

@ -85,7 +85,9 @@ class _BangumiPanelState extends State<BangumiPanel> {
item.cid,
item.aid,
);
_bottomSheetController?.close();
if (_bottomSheetController != null) {
_bottomSheetController?.close();
}
currentIndex = i;
scrollToIndex();
}