From c5d8cfea15dc30eca9474309a398f005cf84001c Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 3 Jun 2024 00:46:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E9=A1=B5=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E4=BA=AE=E5=BA=A6=E4=B8=8D=E8=B7=9F=E9=9A=8F=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home/view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/home/view.dart b/lib/pages/home/view.dart index 3271a2aae..69073be74 100644 --- a/lib/pages/home/view.dart +++ b/lib/pages/home/view.dart @@ -65,7 +65,7 @@ class _HomePageState extends State backgroundColor: Colors.transparent, systemOverlayStyle: SystemUiOverlayStyle( statusBarIconBrightness: - MediaQuery.of(context).platformBrightness == Brightness.dark + Theme.of(context).brightness == Brightness.dark ? Brightness.light : Brightness.dark, ),