From b4dd67f1f019e09d31545640d17d8217d3290dac Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Tue, 11 Apr 2023 13:49:16 +0200 Subject: [PATCH] fix: Flush folder secondary button --- Mail/Views/Thread List/FlushFolderAlertView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mail/Views/Thread List/FlushFolderAlertView.swift b/Mail/Views/Thread List/FlushFolderAlertView.swift index e3a18a476..34ac3ad0a 100644 --- a/Mail/Views/Thread List/FlushFolderAlertView.swift +++ b/Mail/Views/Thread List/FlushFolderAlertView.swift @@ -55,8 +55,7 @@ struct FlushFolderAlertView: View { Text(description) .textStyle(.body) - ModalButtonsView(primaryButtonTitle: MailResourcesStrings.Localizable.buttonConfirm, - secondaryButtonTitle: MailResourcesStrings.Localizable.buttonClose) { + ModalButtonsView(primaryButtonTitle: MailResourcesStrings.Localizable.buttonConfirm) { if let folder, flushAlert.deletedMessages == nil { @InjectService var matomo: MatomoUtils matomo.track(eventWithCategory: .threadList, name: "empty\(folder.matomoName.capitalized)Confirm")