Merge branch '7.1.3-pre' of https://github.com/Ranchero-Software/NetNewsWire into 7.1.3-pre

This commit is contained in:
Brent Simmons committed 2026-08-02 10:55:33 -07:00
commit 35745b9ba7
2 files changed
+13 -1

No files matched your search

@@ -126,6 +126,8 @@ final class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
if let existingUnclaimedFeeds = existingUnclaimedFeeds[containerExternalID] {
for existingUnclaimedFeed in existingUnclaimedFeeds {
// Clear the top-level safety-net fallback (no-op if not there) so we don't leave a duplicate.
account.removeFeedFromTreeAtTopLevel(existingUnclaimedFeed)
container.addFeedToTreeAtTopLevel(existingUnclaimedFeed)
}
self.existingUnclaimedFeeds.removeValue(forKey: containerExternalID)
@@ -168,6 +170,13 @@ private extension CloudKitAcountZoneDelegate {
}
}
}
// Never leave a moved feed invisible: if its destination container(s) aren't known locally yet,
// keep it visible at the top level. addOrUpdateContainer relocates it when the folder record arrives.
// <https://github.com/Ranchero-Software/NetNewsWire/issues/5124>
if account.existingContainers(withFeed: feed).isEmpty {
account.addFeedToTreeAtTopLevel(feed)
}
}
@MainActor func createFeedIfNecessary(url: URL, name: String?, editedName: String?, homePageURL: String?, feedExternalID: String, container: Container) {
@@ -16,7 +16,10 @@ public extension UIActivityViewController {
let itemSource = ArticleActivityItemSource(url: url, subject: title)
let titleSource = TitleActivityItemSource(title: title)
self.init(activityItems: [titleSource, itemSource], applicationActivities: applicationActivities)
// URL source first so the shared item Shortcuts (and other consumers) sees is the article URL.
// The title source returns NSNull for everything except a few apps, so it must not be first.
// <https://github.com/Ranchero-Software/NetNewsWire/issues/5167>
self.init(activityItems: [itemSource, titleSource], applicationActivities: applicationActivities)
}
}