fix: data case

This commit is contained in:
bggRGjQaUbCoE
2024-09-12 21:58:30 +08:00
parent 1542f87722
commit e29d1cc5f1

View File

@@ -102,10 +102,12 @@ class _VideoDetailPageState extends State<VideoDetailPage>
}); });
videoDetailController.cid.listen((p0) { videoDetailController.cid.listen((p0) {
if (!context.mounted) return; if (!context.mounted) return;
videoPlayerServiceHandler.onVideoDetailChange( if (bangumiIntroController.loadingState.value is Success) {
(bangumiIntroController.loadingState.value as Success).response, videoPlayerServiceHandler.onVideoDetailChange(
p0, (bangumiIntroController.loadingState.value as Success).response,
); p0,
);
}
}); });
autoExitFullscreen = autoExitFullscreen =
setting.get(SettingBoxKey.enableAutoExit, defaultValue: true); setting.get(SettingBoxKey.enableAutoExit, defaultValue: true);