mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: video appbar
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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
|
||||||
|
? shouldShow
|
||||||
? null
|
? null
|
||||||
: SystemUiOverlayStyle(
|
: SystemUiOverlayStyle(
|
||||||
statusBarIconBrightness: Brightness.light,
|
statusBarIconBrightness:
|
||||||
|
Brightness.light,
|
||||||
systemNavigationBarIconBrightness:
|
systemNavigationBarIconBrightness:
|
||||||
Theme.of(context).brightness.reverse,
|
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
|
||||||
|
? SystemUiOverlayStyle(
|
||||||
statusBarIconBrightness:
|
statusBarIconBrightness:
|
||||||
Theme.of(context).brightness.reverse,
|
Theme.of(context).brightness.reverse,
|
||||||
systemNavigationBarIconBrightness:
|
systemNavigationBarIconBrightness:
|
||||||
Theme.of(context).brightness.reverse,
|
Theme.of(context).brightness.reverse,
|
||||||
),
|
)
|
||||||
|
: null,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user