From a7ec13f2f121ce89fe942b247da2cd08d8a6b821 Mon Sep 17 00:00:00 2001 From: vjrj Date: Wed, 15 Jul 2026 12:47:27 +0200 Subject: [PATCH] fix(web): center unread badge on the menu icon, not the tap target --- apps/app_seeds/lib/ui/home_screen.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/app_seeds/lib/ui/home_screen.dart b/apps/app_seeds/lib/ui/home_screen.dart index 93c7b81..adf4aba 100644 --- a/apps/app_seeds/lib/ui/home_screen.dart +++ b/apps/app_seeds/lib/ui/home_screen.dart @@ -27,12 +27,10 @@ class HomeScreen extends StatelessWidget { // Badge the hamburger so unread messages are visible from home, without // opening the drawer. Total count across conversations. leading: Builder( - builder: (context) => UnreadBadge( - child: IconButton( - icon: const Icon(Icons.menu), - tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip, - onPressed: () => Scaffold.of(context).openDrawer(), - ), + builder: (context) => IconButton( + icon: const UnreadBadge(child: Icon(Icons.menu)), + tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip, + onPressed: () => Scaffold.of(context).openDrawer(), ), ), ),