Fix bug where contextual menu for article might not have Share menu filled in properly. (Was looking at selectedArticles rather than the intended articles.)

This commit is contained in:
Brent Simmons 2018-12-27 21:49:52 -08:00
parent 9a1ccc4296
commit f84f29fbf3
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ private extension TimelineViewController {
return nil return nil
} }
let sortedArticles = selectedArticles.sortedByDate(.orderedAscending) let sortedArticles = articles.sortedByDate(.orderedAscending)
let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) } let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) }
let standardServices = NSSharingService.sharingServices(forItems: items) let standardServices = NSSharingService.sharingServices(forItems: items)
let customServices = SharingServicePickerDelegate.customSharingServices(for: items) let customServices = SharingServicePickerDelegate.customSharingServices(for: items)