mod: badge

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-19 20:56:05 +08:00
parent 44622c9a0b
commit 568dcfcba9
2 changed files with 1 additions and 14 deletions

View File

@@ -198,10 +198,7 @@ class _UpPanelState extends State<UpPanel> {
isLabelVisible: data.type == 'live' ||
(data.type == 'up' && (data.hasUpdate ?? false)),
backgroundColor: data.type == 'live'
? Theme.of(context)
.colorScheme
.secondaryContainer
.withOpacity(0.7)
? Theme.of(context).colorScheme.secondaryContainer
: Theme.of(context).colorScheme.primary,
),
),