Skip to content

Commit

Permalink
fix(MoveEmailView): Close sheet without waiting for task completion
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed May 3, 2023
1 parent 7639572 commit fe3a2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mail/Views/Thread/MoveEmailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ struct MoveEmailView: View {
FolderCell(folder: nestableFolder, currentFolderId: moveAction.fromFolderId) { folder in
Task {
try await move(to: folder)
NotificationCenter.default.post(Notification(name: Constants.dismissMoveSheetNotificationName))
}
NotificationCenter.default.post(Notification(name: Constants.dismissMoveSheetNotificationName))
}
}
}
Expand Down

0 comments on commit fe3a2e3

Please sign in to comment.