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) {
|
func exportOPML(sourceView: UIView, sourceRect: CGRect) {
|
||||||
if AccountManager.shared.accounts.count == 1 {
|
if AccountManager.shared.accounts.count == 1 {
|
||||||
|
opmlAccount = AccountManager.shared.accounts.first!
|
||||||
exportOPMLDocumentPicker()
|
exportOPMLDocumentPicker()
|
||||||
} else {
|
} else {
|
||||||
exportOPMLAccountPicker(sourceView: sourceView, sourceRect: sourceRect)
|
exportOPMLAccountPicker(sourceView: sourceView, sourceRect: sourceRect)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user