mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 代码整理
This commit is contained in:
@@ -209,6 +209,8 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
videoDetailController.floating?.dispose();
|
||||
floating.dispose();
|
||||
if (!horizontalScreen) {
|
||||
AutoOrientation.portraitUpMode();
|
||||
}
|
||||
@@ -218,9 +220,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
fullScreenStatusListener.cancel();
|
||||
plPlayerController!.dispose();
|
||||
}
|
||||
videoDetailController.floating?.dispose();
|
||||
videoPlayerServiceHandler.onVideoDetailDispose();
|
||||
floating.dispose();
|
||||
_lifecycleListener.dispose();
|
||||
showStatusBar();
|
||||
super.dispose();
|
||||
|
||||
Reference in New Issue
Block a user