#1423 (auto-hiding sidebar when reading stories on smaller iPads)

This commit is contained in:
David Sinclair 2021-03-25 21:42:38 -07:00
parent 3ff1e50b7c
commit 772517f496
2 changed files with 2 additions and 2 deletions

View file

@ -2053,7 +2053,6 @@
- (void)deferredChangePage:(NSDictionary *)params {
[self.storyPagesViewController changePage:[params[@"location"] integerValue] animated:[params[@"animated"] boolValue]];
[self.storyPagesViewController animateIntoPlace:YES];
[self.splitViewController showColumn:UISplitViewControllerColumnSecondary];
[self showDetailViewController:self.detailViewController sender:self];
}

View file

@ -991,7 +991,7 @@
[pageController clearStory];
//TODO: might want to check if overlay display, or something, to avoid doing this on compact layout
[self.splitViewController showColumn:UISplitViewControllerColumnPrimary];
[self.splitViewController showColumn:UISplitViewControllerColumnSupplementary];
}
if (!suppressRedraw) {
@ -1198,6 +1198,7 @@
[self setStoryFromScroll];
}
}
[appDelegate.splitViewController showColumn:UISplitViewControllerColumnSecondary];
[self becomeFirstResponder];
}