Skip to content

Commit 3d6aa23

Browse files
chore: Clean code
1 parent ea307c6 commit 3d6aa23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mail/Views/Thread List/DestructiveActionAlertView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct DestructiveActionAlertView: View {
8888
.textStyle(.body)
8989

9090
ModalButtonsView(primaryButtonTitle: MailResourcesStrings.Localizable.buttonConfirm) {
91-
if case let .flushFolder(frozenFolder) = destructiveAlert.type, let frozenFolder {
91+
if case .flushFolder(let frozenFolder) = destructiveAlert.type, let frozenFolder {
9292
matomo.track(eventWithCategory: .threadList, name: "empty\(frozenFolder.matomoName.capitalized)Confirm")
9393
}
9494
await destructiveAlert.completion()

0 commit comments

Comments
 (0)