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,
|
showStatusBarBackgroundColor ? null : Colors.black,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
toolbarHeight: 0,
|
toolbarHeight: 0,
|
||||||
systemOverlayStyle: showStatusBarBackgroundColor
|
systemOverlayStyle: SystemUiOverlayStyle(
|
||||||
? null
|
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||||
: const SystemUiOverlayStyle(
|
? null
|
||||||
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(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
Obx(
|
Obx(
|
||||||
@@ -1089,8 +1080,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
showStatusBarBackgroundColor ? null : Colors.black,
|
showStatusBarBackgroundColor ? null : Colors.black,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
toolbarHeight: 0,
|
toolbarHeight: 0,
|
||||||
// systemOverlayStyle: const SystemUiOverlayStyle(
|
systemOverlayStyle: SystemUiOverlayStyle(
|
||||||
// statusBarIconBrightness: Brightness.light),
|
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||||
|
? null
|
||||||
|
: Brightness.light,
|
||||||
|
systemNavigationBarColor: Colors.transparent),
|
||||||
),
|
),
|
||||||
body: Container(
|
body: Container(
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
@@ -1113,8 +1107,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
showStatusBarBackgroundColor ? null : Colors.black,
|
showStatusBarBackgroundColor ? null : Colors.black,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
toolbarHeight: 0,
|
toolbarHeight: 0,
|
||||||
// systemOverlayStyle: const SystemUiOverlayStyle(
|
systemOverlayStyle: SystemUiOverlayStyle(
|
||||||
// statusBarIconBrightness: Brightness.light),
|
statusBarIconBrightness: showStatusBarBackgroundColor
|
||||||
|
? null
|
||||||
|
: Brightness.light,
|
||||||
|
systemNavigationBarColor: Colors.transparent),
|
||||||
),
|
),
|
||||||
body: Container(
|
body: Container(
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
|
|||||||
Reference in New Issue
Block a user