Change to work with new DefaultFeedsImporter

This commit is contained in:
Maurice Parker 2019-10-18 10:24:32 -05:00
parent 80125f1f8c
commit cf74da9ac0
1 changed files with 4 additions and 2 deletions

View File

@ -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()