mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Make iOS match macOS for availability and order of offered accounts
This commit is contained in:
parent
54c9f64614
commit
43382df4ec
@ -17,9 +17,9 @@ protocol AddAccountDismissDelegate: UIViewController {
|
||||
class AddAccountViewController: UITableViewController, AddAccountDismissDelegate {
|
||||
|
||||
#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
|
||||
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
|
||||
|
||||
override func viewDidLoad() {
|
||||
@ -73,8 +73,6 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
|
||||
case .inoreader:
|
||||
cell.comboNameLabel?.text = NSLocalizedString("Inoreader", comment: "Inoreader")
|
||||
cell.comboImage?.image = AppAssets.accountInoreaderImage
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
return cell
|
||||
@ -124,8 +122,6 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
|
||||
addViewController.accountType = addableAccountTypes[indexPath.row]
|
||||
addViewController.delegate = self
|
||||
present(navController, animated: true)
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user