From 6d3c8618ddf95af451307b3575d961a04a72e894 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 23 Apr 2019 04:41:44 -0500 Subject: [PATCH] Skip expanded nodes so that next unread goes to the correct timeline. --- iOS/NavigationStateController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iOS/NavigationStateController.swift b/iOS/NavigationStateController.swift index b13e8df32..5bbefda59 100644 --- a/iOS/NavigationStateController.swift +++ b/iOS/NavigationStateController.swift @@ -510,6 +510,10 @@ private extension NavigationStateController { return true } + if expandedNodes.contains(node) { + continue + } + if unreadCountProvider.unreadCount > 0 { currentMasterIndexPath = nextIndexPath return true