Don't allow users to add Reddit or Twitter feeds if they don't have an extension configured.

This commit is contained in:
Maurice Parker
2020-08-12 10:27:58 -05:00
parent 9a91648acc
commit d6ed015514
4 changed files with 10 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ class ExtensionPointAddViewController: NSViewController {
super.viewDidLoad()
tableView.dataSource = self
tableView.delegate = self
availableExtensionPointTypes = ExtensionPointManager.shared.availableExtensionPointTypes
availableExtensionPointTypes = ExtensionPointManager.shared.availableExtensionPointTypes.sorted(by: { $0.title < $1.title })
}
}