mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
iOS: Select first story when navigating to previous story via keyboard if no story selected (#826).
Makes behavior consistent with the Web.
This commit is contained in:
parent
52cfb516f0
commit
885463fa71
1 changed files with 4 additions and 1 deletions
|
@ -828,8 +828,11 @@
|
|||
|
||||
- (void)changeToPreviousPage:(id)sender {
|
||||
NSInteger previousPageIndex = previousPage.pageIndex;
|
||||
if (previousPageIndex < 0)
|
||||
if (previousPageIndex < 0) {
|
||||
if (currentPage.pageIndex < 0)
|
||||
[self changeToNextPage:sender];
|
||||
return;
|
||||
}
|
||||
[self changePage:previousPageIndex animated:YES];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue