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 isPresentationSpamMailboxIsNull = spamController.presentationSpamMailbox.value == null;
|
||||||
|
|
||||||
|
final isEmailOpened = controller.dashboardRoute.value == DashboardRoutes.threadDetailed;
|
||||||
|
|
||||||
if (isSpamReportDisabled ||
|
if (isSpamReportDisabled ||
|
||||||
isPresentationSpamMailboxIsNull ||
|
isPresentationSpamMailboxIsNull ||
|
||||||
isSpamFolderSelected) {
|
isSpamFolderSelected ||
|
||||||
|
isEmailOpened) {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user