fix: 手动暗黑时播放页图标亮度错误

This commit is contained in:
orz12
2024-06-03 00:49:56 +08:00
parent c5d8cfea15
commit 85591b534b

View File

@@ -474,9 +474,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
elevation: 0,
toolbarHeight: 0,
systemOverlayStyle: SystemUiOverlayStyle(
statusBarIconBrightness: showStatusBarBackgroundColor
? null
: Brightness.light,
statusBarIconBrightness:
Theme.of(context).brightness == Brightness.dark ||
!showStatusBarBackgroundColor
? Brightness.light
: Brightness.dark,
systemNavigationBarColor: Colors.transparent),
),
body: Column(
@@ -1081,9 +1083,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
elevation: 0,
toolbarHeight: 0,
systemOverlayStyle: SystemUiOverlayStyle(
statusBarIconBrightness: showStatusBarBackgroundColor
? null
: Brightness.light,
statusBarIconBrightness:
Theme.of(context).brightness == Brightness.dark ||
!showStatusBarBackgroundColor
? Brightness.light
: Brightness.dark,
systemNavigationBarColor: Colors.transparent),
),
body: Container(
@@ -1108,9 +1112,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
elevation: 0,
toolbarHeight: 0,
systemOverlayStyle: SystemUiOverlayStyle(
statusBarIconBrightness: showStatusBarBackgroundColor
? null
: Brightness.light,
statusBarIconBrightness:
Theme.of(context).brightness == Brightness.dark ||
!showStatusBarBackgroundColor
? Brightness.light
: Brightness.dark,
systemNavigationBarColor: Colors.transparent),
),
body: Container(