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