From b292ea97fc19c70989f9627efbd27ff8f758258f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 28 Jan 2020 17:16:49 -0700 Subject: [PATCH] Dismiss the search bar if next unread takes us out of the search timeline. Issue #1722 --- iOS/SceneCoordinator.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 373231030..aa126fe9f 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -905,7 +905,11 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { activityManager.selectingNextUnread() return } - + + if self.isSearching { + self.masterTimelineViewController?.hideSearch() + } + selectNextUnreadFeed() { if self.selectNextUnreadArticleInTimeline() { self.activityManager.selectingNextUnread()