mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
Avoid showing the next-feed button at the bottom of search results.
This commit is contained in:
1 parent
e2ce85cfc8
commit
8b09354145
2 files changed
+5
-3
No files matched your search
@@ -1250,7 +1250,8 @@ private extension MainTimelineViewController {
|
||||
return
|
||||
}
|
||||
var sidebarItem: SidebarItem?
|
||||
if let nextSidebarItem = coordinator?.nextSidebarItemWithUnreadArticles(), nextSidebarItem.sidebarItemID != timelineFeed?.sidebarItemID {
|
||||
// Search results aren’t a feed or folder to move on from.
|
||||
if let coordinator, !coordinator.isSearching, let nextSidebarItem = coordinator.nextSidebarItemWithUnreadArticles(), nextSidebarItem.sidebarItemID != timelineFeed?.sidebarItemID {
|
||||
sidebarItem = nextSidebarItem
|
||||
}
|
||||
nextSidebarItemWithUnreadArticles = sidebarItem
|
||||
|
||||
Reference in new issue
Block a user