From 5b717777f4c3f51224d4f7d0efbec6efb6350932 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 29 Jan 2022 14:33:03 -0800 Subject: [PATCH] Fix how we are clearing the article so that we don't glimpse the previous article when pushing from the Timeline --- iOS/SceneCoordinator.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 1b20e86d4..14add4ffe 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1341,9 +1341,7 @@ extension SceneCoordinator: UINavigationControllerDelegate { // This happens when we are going to the next unread and we need to grab another timeline to continue. The // ArticleViewController will be pushed, but we will briefly show the Timeline. Don't clear things out when that happens. if viewController === masterTimelineViewController && lastMainControllerToAppear == .article { - currentArticle = nil - masterTimelineViewController?.updateArticleSelection(animations: [.scroll, .select, .navigation]) - activityManager.invalidateReading() + selectArticle(nil) // Restore any bars hidden by the article controller showStatusBar()