Add comment about deprecation warning that we can’t do anything about.

This commit is contained in:
Brent Simmons 2024-02-24 21:21:18 -08:00
parent 78c1f8fe59
commit 9794cc9a59

View File

@ -200,6 +200,9 @@ private extension TimelineViewController {
let sortedArticles = articles.sortedByDate(.orderedAscending)
let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) }
// Theres no replacement for the deprecated `NSSharingService.sharingServices`
// and we need it in order to create a custom menu.
let standardServices = NSSharingService.sharingServices(forItems: items)
let customServices = SharingServicePickerDelegate.customSharingServices(for: items)
let services = standardServices + customServices