Fix several warnings.

This commit is contained in:
Brent Simmons
2024-12-07 14:59:17 -08:00
parent 903155aba9
commit e2b7e2b512
4 changed files with 5 additions and 5 deletions

View File

@@ -455,7 +455,7 @@ private extension SettingsViewController {
self.presentError(title: "OPML Export Error", message: error.localizedDescription)
}
let docPicker = UIDocumentPickerViewController(url: tempFile, in: .exportToService)
let docPicker = UIDocumentPickerViewController(forExporting: [tempFile])
docPicker.modalPresentationStyle = .formSheet
self.present(docPicker, animated: true)
}