Implement go to next unread

This commit is contained in:
Maurice Parker
2020-07-19 15:24:59 -05:00
parent de10e81e31
commit 68a569ec0b
4 changed files with 65 additions and 20 deletions

View File

@@ -55,7 +55,10 @@ final class SceneModel: ObservableObject {
/// Goes to the next unread item found in Sidebar and Timeline order, top to bottom
func goToNextUnread() {
if !timelineModel.goToNextUnread() {
sidebarModel.goToNextUnread()
timelineModel.goToNextUnread()
}
}
// MARK: Article Management API