From cf74da9ac0bf2c94d517d0d4333f5f00cc068746 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 18 Oct 2019 10:24:32 -0500 Subject: [PATCH] Change to work with new DefaultFeedsImporter --- iOS/AppDelegate.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index 39b5abe14..f0fe5936f 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -73,8 +73,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD os_log("Is first run.", log: log, type: .info) } - let localAccount = AccountManager.shared.defaultAccount - DefaultFeedsImporter.importIfNeeded(isFirstRun, account: localAccount) + if isFirstRun && !AccountManager.shared.anyAccountHasAtLeastOneFeed() { + let localAccount = AccountManager.shared.defaultAccount + DefaultFeedsImporter.importDefaultFeeds(account: localAccount) + } initializeDownloaders() initializeHomeScreenQuickActions()