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…
Reference in New Issue