mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-12 01:33:51 +01:00
Gate code to only show intended account types for add.
This commit is contained in:
parent
71f6917417
commit
c17999de76
@ -24,6 +24,12 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
|
||||
localAccountNameLabel.text = Account.defaultLocalAccountName
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
||||
return 3
|
||||
}
|
||||
#endif
|
||||
|
||||
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||
switch indexPath.row {
|
||||
case 0:
|
||||
|
Loading…
Reference in New Issue
Block a user