Fix compile error in iOS caused by recent changes to Account

This commit is contained in:
Maurice Parker 2019-05-14 14:02:49 -05:00
parent 1984af4664
commit 7de24e1d53

View File

@ -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}
}
}