mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Fix the OPML export when there is only one exportable account. Issue #1457
This commit is contained in:
parent
1043b42472
commit
4b361300f4
@ -380,6 +380,7 @@ private extension SettingsViewController {
|
||||
|
||||
func exportOPML(sourceView: UIView, sourceRect: CGRect) {
|
||||
if AccountManager.shared.accounts.count == 1 {
|
||||
opmlAccount = AccountManager.shared.accounts.first!
|
||||
exportOPMLDocumentPicker()
|
||||
} else {
|
||||
exportOPMLAccountPicker(sourceView: sourceView, sourceRect: sourceRect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user