Skip to content

Commit

Permalink
Merge pull request #688 from Infomaniak/update-wording
Browse files Browse the repository at this point in the history
fix: Flush folder secondary button
  • Loading branch information
Ambrdctr committed Apr 12, 2023
2 parents a513312 + b4dd67f commit e35ea48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Mail/Views/Thread List/FlushFolderAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e35ea48

Please sign in to comment.