From f84f29fbf3cb668453cbfbe68e961d4953ef275f Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 27 Dec 2018 21:49:52 -0800 Subject: [PATCH] Fix bug where contextual menu for article might not have Share menu filled in properly. (Was looking at selectedArticles rather than the intended articles.) --- .../Timeline/TimelineViewController+ContextualMenus.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetNewsWire/MainWindow/Timeline/TimelineViewController+ContextualMenus.swift b/NetNewsWire/MainWindow/Timeline/TimelineViewController+ContextualMenus.swift index 8a15a92a4..c2a947230 100644 --- a/NetNewsWire/MainWindow/Timeline/TimelineViewController+ContextualMenus.swift +++ b/NetNewsWire/MainWindow/Timeline/TimelineViewController+ContextualMenus.swift @@ -185,7 +185,7 @@ private extension TimelineViewController { return nil } - let sortedArticles = selectedArticles.sortedByDate(.orderedAscending) + let sortedArticles = articles.sortedByDate(.orderedAscending) let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) } let standardServices = NSSharingService.sharingServices(forItems: items) let customServices = SharingServicePickerDelegate.customSharingServices(for: items)