Add Feed Inspector

This commit is contained in:
Maurice Parker
2019-09-27 19:45:09 -05:00
parent 17c33b75e9
commit ca4a7f8b0b
4 changed files with 140 additions and 1 deletions

View File

@@ -788,6 +788,15 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
}
}
func showFeedInspector() {
guard let feed = timelineFetcher as? Feed else {
return
}
rootSplitViewController.present(style: .formSheet) {
FeedInspectorView(viewModel: FeedInspectorView.ViewModel(feed: feed))
}
}
func showAdd(_ type: AddControllerType, initialFeed: String? = nil, initialFeedName: String? = nil) {
selectFeed(nil)