From fdde6d0583187d603dc9206263094addc393e284 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 25 Jan 2020 16:13:33 -0700 Subject: [PATCH] Make sure that the smart feed section is expanded before selecting the all unread feed. Issue #1673 --- iOS/SceneCoordinator.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 076638677..249ed48d0 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -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() + } } }