Apply new design for spam alert on desktop
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -109,4 +109,8 @@ class SpamReportController extends BaseController {
|
||||
void setSpamPresentationMailbox(PresentationMailbox? spamMailbox) {
|
||||
presentationSpamMailbox.value = spamMailbox;
|
||||
}
|
||||
|
||||
bool get showReportBanner =>
|
||||
spamReportState.value == SpamReportState.disabled ||
|
||||
presentationSpamMailbox.value == null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user