diff --git a/lib/main.dart b/lib/main.dart index 5ebbe5fbf..eb3077056 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -87,9 +87,9 @@ void main() async { // 小白条、导航栏沉浸 SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge); SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle( - systemNavigationBarColor: Colors.transparent, - systemNavigationBarDividerColor: Colors.transparent, - statusBarColor: Colors.transparent, + systemNavigationBarColor: Color(0x01000000), + systemNavigationBarDividerColor: Color(0x01000000), + statusBarColor: Color(0x01000000), )); Data.init(); PiliScheme.init(); diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index caca3e1f5..364616bc2 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -523,7 +523,7 @@ class _VideoDetailPageState extends State !showStatusBarBackgroundColor ? Brightness.light : Brightness.dark, - systemNavigationBarColor: Colors.transparent), + systemNavigationBarColor: const Color(0x01000000)), ), body: Column( children: [ @@ -1008,7 +1008,7 @@ class _VideoDetailPageState extends State !showStatusBarBackgroundColor ? Brightness.light : Brightness.dark, - systemNavigationBarColor: Colors.transparent), + systemNavigationBarColor: const Color(0x01000000)), ), body: Container( color: Theme.of(context).colorScheme.background, @@ -1037,7 +1037,7 @@ class _VideoDetailPageState extends State !showStatusBarBackgroundColor ? Brightness.light : Brightness.dark, - systemNavigationBarColor: Colors.transparent), + systemNavigationBarColor: const Color(0x01000000)), ), body: Container( color: Theme.of(context).colorScheme.background,