opt playlist jump

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-18 13:32:58 +08:00
parent 8157dbc530
commit 5f734758b4
3 changed files with 26 additions and 5 deletions

View File

@@ -220,11 +220,11 @@ class VideoDetailController extends GetxController
late RxList<MediaVideoItemModel> mediaList = <MediaVideoItemModel>[].obs;
late String watchLaterTitle = '';
bool get isPlayAll =>
const ['watchLater', 'fav', 'archive'].contains(sourceType);
const ['watchLater', 'fav', 'archive', 'playlist'].contains(sourceType);
int get _mediaType => switch (sourceType) {
'archive' => 1,
'watchLater' => 2,
'fav' => 3,
'fav' || 'playlist' => 3,
_ => -1,
};