Merge pull request #383 from orz12/fix-statusbar-color-and-icon

fix: 非全屏透明appbar无图标、横屏视频竖屏全屏播放时有白色状态栏
This commit is contained in:
guozhigq
2024-01-06 10:52:17 +08:00
committed by GitHub

View File

@ -294,7 +294,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
appBar: PreferredSize( appBar: PreferredSize(
preferredSize: const Size.fromHeight(0), preferredSize: const Size.fromHeight(0),
child: AppBar( child: AppBar(
backgroundColor: Theme.of(context).colorScheme.background, backgroundColor: Colors.transparent,
elevation: 0, elevation: 0,
), ),
), ),