mod: video appbar

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-06 10:22:33 +08:00
parent 3b717cfc58
commit 893fb63a72

View File

@@ -647,13 +647,18 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
AppBar(
backgroundColor: Colors.black,
toolbarHeight: 0,
systemOverlayStyle: shouldShow
systemOverlayStyle: Platform.isAndroid
? shouldShow
? null
: SystemUiOverlayStyle(
statusBarIconBrightness: Brightness.light,
statusBarIconBrightness:
Brightness.light,
systemNavigationBarIconBrightness:
Theme.of(context).brightness.reverse,
),
Theme.of(context)
.brightness
.reverse,
)
: null,
),
if (shouldShow)
AppBar(
@@ -663,12 +668,14 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
.withOpacity(
videoDetailController.scrollRatio.value),
toolbarHeight: 0,
systemOverlayStyle: SystemUiOverlayStyle(
systemOverlayStyle: Platform.isAndroid
? SystemUiOverlayStyle(
statusBarIconBrightness:
Theme.of(context).brightness.reverse,
systemNavigationBarIconBrightness:
Theme.of(context).brightness.reverse,
),
)
: null,
),
],
);