Make iOS match macOS for availability and order of offered accounts

This commit is contained in:
Maurice Parker 2020-10-25 20:33:56 -05:00
parent 54c9f64614
commit 43382df4ec
1 changed files with 2 additions and 6 deletions

View File

@ -17,9 +17,9 @@ protocol AddAccountDismissDelegate: UIViewController {
class AddAccountViewController: UITableViewController, AddAccountDismissDelegate { class AddAccountViewController: UITableViewController, AddAccountDismissDelegate {
#if DEBUG #if DEBUG
private var addableAccountTypes: [AccountType] = [.onMyMac, .feedbin, .feedly, .feedWrangler, .cloudKit, .newsBlur, .bazQux, .theOldReader, .freshRSS, .inoreader] private var addableAccountTypes: [AccountType] = [.onMyMac, .cloudKit, .feedbin, .feedly, .inoreader, .newsBlur, .feedWrangler, .bazQux, .theOldReader, .freshRSS]
#else #else
private var addableAccountTypes: [AccountType] = [.onMyMac, .feedbin, .feedly, .cloudKit, .newsBlur, .bazQux, .theOldReader, .freshRSS, .inoreader] private var addableAccountTypes: [AccountType] = [.onMyMac, .cloudKit, .feedbin, .feedly, .inoreader, .newsBlur, .feedWrangler, .bazQux, .theOldReader, .freshRSS]
#endif #endif
override func viewDidLoad() { override func viewDidLoad() {
@ -73,8 +73,6 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
case .inoreader: case .inoreader:
cell.comboNameLabel?.text = NSLocalizedString("Inoreader", comment: "Inoreader") cell.comboNameLabel?.text = NSLocalizedString("Inoreader", comment: "Inoreader")
cell.comboImage?.image = AppAssets.accountInoreaderImage cell.comboImage?.image = AppAssets.accountInoreaderImage
default:
break
} }
return cell return cell
@ -124,8 +122,6 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
addViewController.accountType = addableAccountTypes[indexPath.row] addViewController.accountType = addableAccountTypes[indexPath.row]
addViewController.delegate = self addViewController.delegate = self
present(navController, animated: true) present(navController, animated: true)
default:
break
} }
} }