mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 动态红点改为主色
This commit is contained in:
@@ -135,6 +135,11 @@ class _MainAppState extends State<MainApp> 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'],
|
||||
@@ -166,6 +171,11 @@ class _MainAppState extends State<MainApp> 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'],
|
||||
|
||||
Reference in New Issue
Block a user