Make sure that the smart feed section is expanded before selecting the all unread feed. Issue #1673

This commit is contained in:
Maurice Parker 2020-01-25 16:13:33 -07:00
parent b62f80e0ea
commit fdde6d0583

View File

@ -404,8 +404,10 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
}
func selectFirstUnreadInAllUnread() {
selectFeed(IndexPath(row: 1, section: 0), animated: false) {
self.selectFirstUnreadArticleInTimeline()
masterFeedViewController.ensureSectionIsExpanded(0) {
self.selectFeed(IndexPath(row: 1, section: 0), animated: false) {
self.selectFirstUnreadArticleInTimeline()
}
}
}