fix(recommend): 稳定进度拖动与清屏状态

This commit is contained in:
Zhou Weidong committed 2026-10-22 20:01:54 +08:00
1 parent 76c4f1d411
commit 30b55afdd4
9 files changed
+339 -96

No files matched your search

+7
View File
@@ -23,6 +23,7 @@ class HomeLogic extends ChangeNotifier {
bool drawerOpen = false;
bool detailOpen = false;
bool videoImmersive = false;
bool scrubHidden = false;
bool _dramaNotifyScheduled = false;
bool _disposed = false;
@@ -144,6 +145,12 @@ class HomeLogic extends ChangeNotifier {
notify();
}
void onScrubVisibilityChanged(bool value) {
if (scrubHidden == value) return;
scrubHidden = value;
notify();
}
@override
void dispose() {
_disposed = true;