opt: video page v

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-27 10:56:26 +08:00
parent 72e7f0aa9f
commit 6a9795f561
3 changed files with 266 additions and 269 deletions

View File

@@ -2088,7 +2088,7 @@ class VideoDetailController extends GetxController
@override
void onClose() {
tabCtr.dispose();
if (Get.currentRoute.startsWith('/videoV')) {
if (GStorage.collapsibleVideoPage) {
scrollCtr.removeListener(scrollListener);
scrollCtr.dispose;
animationController.dispose();
@@ -2101,7 +2101,7 @@ class VideoDetailController extends GetxController
videoUrl = null;
audioUrl = null;
if (Get.currentRoute.startsWith('/videoV') && scrollRatio.value != 0) {
if (GStorage.collapsibleVideoPage && scrollRatio.value != 0) {
scrollRatio.refresh();
}