mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix next and previous buttons on Detail
This commit is contained in:
@@ -196,14 +196,14 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
guard isPrevArticleAvailable, let articleRow = currentArticleRow else {
|
||||
return nil
|
||||
}
|
||||
return articles[articleRow]
|
||||
return articles[articleRow - 1]
|
||||
}
|
||||
|
||||
var nextArticle: Article? {
|
||||
guard isNextArticleAvailable, let articleRow = currentArticleRow else {
|
||||
return nil
|
||||
}
|
||||
return articles[articleRow]
|
||||
return articles[articleRow + 1]
|
||||
}
|
||||
|
||||
var firstUnreadArticleIndexPath: IndexPath? {
|
||||
|
||||
Reference in New Issue
Block a user