Convert some functions to async instead of completion-based.

This commit is contained in:
Brent Simmons
2024-05-05 18:02:46 -07:00
parent cd7f4f7052
commit 3d91a6b38d
6 changed files with 30 additions and 15 deletions

View File

@@ -54,8 +54,7 @@ class AddFeedWindowController : NSWindowController {
}
func runSheetOnWindow(_ hostWindow: NSWindow) {
hostWindow.beginSheet(window!) { (returnCode: NSApplication.ModalResponse) -> Void in
}
hostWindow.beginSheet(window!, completionHandler: nil)
}
override func windowDidLoad() {