Use a constant for the share template image.

This commit is contained in:
Damiano Galassi committed 2018-06-11 16:18:26 +02:00
1 parent 5b4600b9dd
commit 1899e78433
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ class DocumentWindowController: NSWindowController, TracksViewControllerDelegate
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.registerForDraggedTypes([NSPasteboard.PasteboardType.backwardsCompatibleFileURL])