mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Convert some functions to async instead of completion-based.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user