From b2672bd06b404c041f2e5c408934b870e088b3f5 Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 3 Jun 2024 00:18:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=99=9A=E6=8B=9F=E9=94=AE=E9=80=82?= =?UTF-8?q?=E9=85=8D=E5=BA=95=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/view.dart | 33 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 24806830..ee2ca470 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -473,21 +473,12 @@ class _VideoDetailPageState extends State showStatusBarBackgroundColor ? null : Colors.black, elevation: 0, toolbarHeight: 0, - systemOverlayStyle: showStatusBarBackgroundColor - ? null - : const SystemUiOverlayStyle( - statusBarIconBrightness: Brightness.light), + systemOverlayStyle: SystemUiOverlayStyle( + statusBarIconBrightness: showStatusBarBackgroundColor + ? null + : 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 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 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,