diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 1f7dccaad..e3e469baa 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -879,7 +879,7 @@ private extension SceneCoordinator { func selectNextUnreadArticleInTimeline() -> Bool { let startingRow: Int = { if let indexPath = currentArticleIndexPath { - return indexPath.row + return indexPath.row + 1 } else { return 0 } @@ -890,6 +890,10 @@ private extension SceneCoordinator { func selectArticleInTimeline(startingRow: Int) -> Bool { + guard startingRow < articles.count else { + return false + } + for i in startingRow..