TF-4067 Fix banner to indicate number of spam unread take lots of place
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user