#1290 (state restoration)

- Now doesn’t select a story if the appropriate one can’t be found.
- Left commented out the old behavior of selecting the first unread, in case you change your mind.
This commit is contained in:
David Sinclair 2020-03-24 17:05:22 -07:00
parent a95204ca38
commit 334fb705d9

View file

@ -823,7 +823,8 @@
if (pageIndex >= 0) {
[self changePage:pageIndex animated:NO];
} else if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
[self doNextUnreadStory:nil];
// If the story can't be found, don't show anything; uncomment this to instead show the first unread story:
// [self doNextUnreadStory:nil];
} else {
[appDelegate hideStoryDetailView];
}