Replace return with continue when syncing folder relationships so we don’t skip some.

This commit is contained in:
Brent Simmons committed 2026-09-01 09:14:04 -07:00
1 parent 2f6d5053e0
commit 2b46ee65cc
3 files changed
+6 -3

No files matched your search

@@ -702,7 +702,9 @@ private extension FeedbinAccountDelegate {
// Sync the folders
for (folderName, groupedTaggings) in taggingsDict {
guard let folder = folderDict[folderName] else { return }
guard let folder = folderDict[folderName] else {
continue
}
let taggingFeedIDs = groupedTaggings.map { String($0.feedID) }
@@ -157,7 +157,6 @@ import os
let newsBlurFolderFeedIDs = folderRelationships.map { String($0.feedID) }
// A missing folder must not abort the rest of the relationship sync.
guard let folder = folderDict[folderName] else {
continue
}
@@ -897,7 +897,9 @@ private extension ReaderAPIAccountDelegate {
// Sync the folders
for (folderExternalID, groupedTaggings) in taggingsDict {
guard let folder = folderDict[folderExternalID] else { return }
guard let folder = folderDict[folderExternalID] else {
continue
}
let taggingFeedIDs = groupedTaggings.map { $0.feedID }
// Move any feeds not in the folder to the account