opt: bangumiIntroController初始化

This commit is contained in:
guozhigq
2024-10-10 22:26:46 +08:00
parent b916a4fc56
commit 773d39b125
2 changed files with 15 additions and 11 deletions

View File

@ -86,9 +86,11 @@ class _BangumiPanelState extends State<BangumiPanel> {
item.aid,
item.cover,
);
if (_bottomSheetController != null) {
_bottomSheetController?.close();
}
try {
if (_bottomSheetController != null) {
_bottomSheetController?.close();
}
} catch (_) {}
currentIndex.value = i;
scrollToIndex();
}