From 7ecd2f48e58c6e3ac0a01eaa8423b40bdb35fad7 Mon Sep 17 00:00:00 2001 From: orz12 Date: Sat, 2 Mar 2024 13:11:52 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E5=8A=A8=E6=80=81=E7=BA=A2=E7=82=B9?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=B8=BB=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/main/view.dart | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/pages/main/view.dart b/lib/pages/main/view.dart index 9605c852..5ce40caa 100644 --- a/lib/pages/main/view.dart +++ b/lib/pages/main/view.dart @@ -135,7 +135,12 @@ class _MainAppState extends State with SingleTickerProviderStateMixin { DynamicBadgeMode.hidden && e['count'] > 0, child: e['icon'], - ), + backgroundColor: + Theme.of(context).colorScheme.primary, + textColor: Theme.of(context) + .colorScheme + .onInverseSurface, + ), ), selectedIcon: e['selectIcon'], label: e['label'], @@ -166,7 +171,12 @@ class _MainAppState extends State with SingleTickerProviderStateMixin { DynamicBadgeMode.hidden && e['count'] > 0, child: e['icon'], - ), + backgroundColor: + Theme.of(context).colorScheme.primary, + textColor: Theme.of(context) + .colorScheme + .onInverseSurface, + ), ), activeIcon: e['selectIcon'], label: e['label'],