opt: video sheet

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-11 13:18:53 +08:00
parent a6a1de169b
commit 4aa3d5f273
6 changed files with 1134 additions and 1051 deletions

View File

@@ -1813,7 +1813,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
);
if (isFullScreen) {
Utils.showFSSheet(
child: listSheetContent(false),
context,
child: Theme(
data: themeData,
child: listSheetContent(false),
),
isFullScreen: () => isFullScreen,
);
} else {
@@ -1897,10 +1901,14 @@ class _VideoDetailPageState extends State<VideoDetailPage>
void showViewPoints() {
if (isFullScreen) {
Utils.showFSSheet(
child: ViewPointsPage(
enableSlide: false,
videoDetailController: videoDetailController,
plPlayerController: plPlayerController,
context,
child: Theme(
data: themeData,
child: ViewPointsPage(
enableSlide: false,
videoDetailController: videoDetailController,
plPlayerController: plPlayerController,
),
),
isFullScreen: () => isFullScreen,
);