From 7de24e1d5395c61c4da2181b935111a99b9f06e4 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 14 May 2019 14:02:49 -0500 Subject: [PATCH] Fix compile error in iOS caused by recent changes to Account --- iOS/Settings/SettingsViewController.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/iOS/Settings/SettingsViewController.swift b/iOS/Settings/SettingsViewController.swift index 56fcb87e4..7eeea308f 100644 --- a/iOS/Settings/SettingsViewController.swift +++ b/iOS/Settings/SettingsViewController.swift @@ -126,11 +126,7 @@ extension SettingsViewController: UIDocumentPickerDelegate { func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) { for url in urls { - do { - try OPMLImporter.parseAndImport(fileURL: url, account: AccountManager.shared.defaultAccount) - } catch { - presentError(title: "OPML Import Error", message: error.localizedDescription) - } + AccountManager.shared.defaultAccount.importOPML(url) { result in} } }