From 84d1ccadfdb16a26cebf206ae559052fdb258fcb Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 24 Dec 2019 17:55:56 -0700 Subject: [PATCH] Clear the saved middle position when emptying the timeline. Issue #1464 --- iOS/SceneCoordinator.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 9cb6d5ef1..76955cd20 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1551,6 +1551,7 @@ private extension SceneCoordinator { func emptyTheTimeline() { if !articles.isEmpty { + timelineMiddleIndexPath = nil replaceArticles(with: Set
(), animated: false) } }