From 31724594961eaa7da99c13c6bbc47032d1c06ab2 Mon Sep 17 00:00:00 2001 From: dab246 Date: Mon, 29 Sep 2025 10:14:09 +0700 Subject: [PATCH] TF-4067 Fix banner to indicate number of spam unread take lots of place --- .../presentation/mailbox_dashboard_view_web.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart index 456998f1f..04d9d57a9 100644 --- a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart +++ b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart @@ -198,9 +198,12 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView { final isPresentationSpamMailboxIsNull = spamController.presentationSpamMailbox.value == null; + final isEmailOpened = controller.dashboardRoute.value == DashboardRoutes.threadDetailed; + if (isSpamReportDisabled || isPresentationSpamMailboxIsNull || - isSpamFolderSelected) { + isSpamFolderSelected || + isEmailOpened) { return const SizedBox.shrink(); }