From 1899e784334265c376e1175b79f47d647d99dc84 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 11 Jun 2018 16:18:26 +0200 Subject: [PATCH] Use a constant for the share template image. --- Classes/DocumentWindowController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/DocumentWindowController.swift b/Classes/DocumentWindowController.swift index b4ccf05..e25ab1e 100644 --- a/Classes/DocumentWindowController.swift +++ b/Classes/DocumentWindowController.swift @@ -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])