From cd85e52fdd5c796994debbcd1575d84bab0d3f14 Mon Sep 17 00:00:00 2001 From: Tom Grimwood-Taylor Date: Mon, 3 Jun 2019 17:04:30 +0100 Subject: [PATCH] Fix updating local feed list when no remote feeds. When there were no remote feeds the logic to remove local feeds was skipped. --- Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift index f7788af52..09ba4c9ff 100644 --- a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift +++ b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift @@ -612,7 +612,7 @@ private extension FeedbinAccountDelegate { func syncFeeds(_ account: Account, _ subscriptions: [FeedbinSubscription]?) { - guard let subscriptions = subscriptions else { return } + let subscriptions = subscriptions ?? [] os_log(.debug, log: log, "Syncing feeds with %ld subscriptions.", subscriptions.count)