Fixes a couple of issues on macOS 11 sdk.

This commit is contained in:
Damiano Galassi committed 2020-07-10 13:10:35 +02:00
1 parent 903d344b56
commit a51c3a28ce
12 files changed
+100 -78

No files matched your search

+1 -3
View File
@@ -37,11 +37,9 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
fatalError("`window` is expected to be non nil by this time.")
}
#if __MAC_10_16
if #available(macOS 10.16, *) {
window.toolbarStyle = .expanded
window.toolbarStyle = .unified
}
#endif
sendToQueue.image = NSImage(named: NSImage.shareTemplateName);