From 7f6c88039c393a401c0ada5e7dfe92170c384876 Mon Sep 17 00:00:00 2001 From: vjrj Date: Wed, 15 Jul 2026 12:45:08 +0200 Subject: [PATCH] fix(web): use red (error color) for unread badge instead of green --- apps/app_seeds/lib/ui/unread_badge.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/app_seeds/lib/ui/unread_badge.dart b/apps/app_seeds/lib/ui/unread_badge.dart index 2957f74..7a6e54b 100644 --- a/apps/app_seeds/lib/ui/unread_badge.dart +++ b/apps/app_seeds/lib/ui/unread_badge.dart @@ -4,7 +4,6 @@ import 'package:flutter/material.dart'; import '../di/injector.dart'; import '../services/unread_service.dart'; -import 'theme.dart'; /// Wraps [child] with a small live unread-count badge. It listens to the /// app-wide [UnreadService] and rebuilds whenever a count changes: on a new @@ -79,7 +78,7 @@ class _UnreadBadgeState extends State { return Badge( isLabelVisible: _count > 0, label: Text('$_count'), - backgroundColor: seedGreen, + backgroundColor: Theme.of(context).colorScheme.error, child: widget.child, ); }