mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 虚拟键适配底色
This commit is contained in:
@@ -473,21 +473,12 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
systemOverlayStyle: showStatusBarBackgroundColor
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||
? null
|
||||
: const SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: Brightness.light),
|
||||
: Brightness.light,
|
||||
systemNavigationBarColor: Colors.transparent),
|
||||
),
|
||||
// appBar: PreferredSize(
|
||||
// preferredSize: const Size.fromHeight(0),
|
||||
// child: AppBar(
|
||||
// backgroundColor: Colors.transparent,
|
||||
// elevation: 0,
|
||||
// systemOverlayStyle: const SystemUiOverlayStyle(
|
||||
// statusBarColor: Colors.transparent,
|
||||
// statusBarIconBrightness: Brightness.light),
|
||||
// ),
|
||||
// ),
|
||||
body: Column(
|
||||
children: [
|
||||
Obx(
|
||||
@@ -1089,8 +1080,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
// systemOverlayStyle: const SystemUiOverlayStyle(
|
||||
// statusBarIconBrightness: Brightness.light),
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||
? null
|
||||
: Brightness.light,
|
||||
systemNavigationBarColor: Colors.transparent),
|
||||
),
|
||||
body: Container(
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
@@ -1113,8 +1107,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
// systemOverlayStyle: const SystemUiOverlayStyle(
|
||||
// statusBarIconBrightness: Brightness.light),
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||
? null
|
||||
: Brightness.light,
|
||||
systemNavigationBarColor: Colors.transparent),
|
||||
),
|
||||
body: Container(
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
|
||||
Reference in New Issue
Block a user