Skip the current folder for next unread

This commit is contained in:
Maurice Parker
2020-07-27 21:01:32 -05:00
parent 66f8180006
commit ecefe59a5e
2 changed files with 2 additions and 1 deletions

View File

@@ -289,6 +289,7 @@ private extension SidebarModel {
section.visit { sidebarItem in
if !foundStartFeed && sidebarItem.feed?.feedID == startingAt.feedID {
foundStartFeed = true
return false
}
if foundStartFeed && sidebarItem.unreadCount > 0 {
nextSidebarItem = sidebarItem