mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
iOS: magical scrolling enabled when needed in feed detail menu popover
This commit is contained in:
parent
80ebc15584
commit
a8d701d2c7
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@
|
||||||
|
|
||||||
NSInteger menuCount = self.menuOptions.count + ([self isRiver] ? 2 : 3);
|
NSInteger menuCount = self.menuOptions.count + ([self isRiver] ? 2 : 3);
|
||||||
self.navigationController.preferredContentSize = CGSizeMake(260, 38 * menuCount);
|
self.navigationController.preferredContentSize = CGSizeMake(260, 38 * menuCount);
|
||||||
|
self.menuTableView.scrollEnabled = self.navigationController.preferredContentSize.height > self.view.frame.size.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)buildMenuOptions {
|
- (void)buildMenuOptions {
|
||||||
|
|
Loading…
Add table
Reference in a new issue