mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 首页图标亮度不跟随主题设置
This commit is contained in:
@@ -65,7 +65,7 @@ class _HomePageState extends State<HomePage>
|
|||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
systemOverlayStyle: SystemUiOverlayStyle(
|
systemOverlayStyle: SystemUiOverlayStyle(
|
||||||
statusBarIconBrightness:
|
statusBarIconBrightness:
|
||||||
MediaQuery.of(context).platformBrightness == Brightness.dark
|
Theme.of(context).brightness == Brightness.dark
|
||||||
? Brightness.light
|
? Brightness.light
|
||||||
: Brightness.dark,
|
: Brightness.dark,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user