Use a constant for the share template image.
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ class DocumentWindowController: NSWindowController, TracksViewControllerDelegate
|
|||||||
fatalError("`window` is expected to be non nil by this time.")
|
fatalError("`window` is expected to be non nil by this time.")
|
||||||
}
|
}
|
||||||
|
|
||||||
sendToQueue.image = NSImage(named: "NSShareTemplate");
|
sendToQueue.image = NSImage(named: NSImage.shareTemplateName);
|
||||||
|
|
||||||
window.contentViewController = splitViewController
|
window.contentViewController = splitViewController
|
||||||
window.registerForDraggedTypes([NSPasteboard.PasteboardType.backwardsCompatibleFileURL])
|
window.registerForDraggedTypes([NSPasteboard.PasteboardType.backwardsCompatibleFileURL])
|
||||||
|
|||||||
Reference in new issue
Block a user