Put accounts in the correct order on OPML import/export.

This commit is contained in:
Maurice Parker 2019-10-22 17:18:37 -05:00
parent e80a5f92bb
commit 8189695b29
1 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ private extension SettingsViewController {
popoverController.sourceRect = sourceRect
}
for account in AccountManager.shared.activeAccounts {
for account in AccountManager.shared.sortedActiveAccounts {
let action = UIAlertAction(title: account.nameForDisplay, style: .default) { [weak self] action in
self?.opmlAccount = account
self?.importOPMLDocumentPicker()
@ -323,7 +323,7 @@ private extension SettingsViewController {
popoverController.sourceRect = sourceRect
}
for account in AccountManager.shared.accounts {
for account in AccountManager.shared.sortedAccounts {
let action = UIAlertAction(title: account.nameForDisplay, style: .default) { [weak self] action in
self?.opmlAccount = account
self?.exportOPMLDocumentPicker()