Make handling of programmatic feed selection when filtered or collapsed more consistent. Issues #1788 and #1792

This commit is contained in:
Maurice Parker
2020-02-17 17:40:40 -08:00
parent 6c5f0cc8b6
commit 03c1ed2625
5 changed files with 204 additions and 212 deletions

View File

@@ -774,7 +774,7 @@ private extension MasterTimelineViewController {
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
let action = UIAction(title: title, image: AppAssets.openInSidebarImage) { [weak self] action in
self?.coordinator.discloseFeed(webFeed, animations: [.scroll, .navigation])
self?.coordinator.discloseWebFeed(webFeed, animations: [.scroll, .navigation])
}
return action
}
@@ -785,7 +785,7 @@ private extension MasterTimelineViewController {
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
let action = UIAlertAction(title: title, style: .default) { [weak self] action in
self?.coordinator.discloseFeed(webFeed, animations: [.scroll, .navigation])
self?.coordinator.discloseWebFeed(webFeed, animations: [.scroll, .navigation])
completion(true)
}
return action