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