Skip to content

Commit a7cdfdc

Browse files
committed
fixup: bottom insets
1 parent 5350703 commit a7cdfdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XBMC Remote/DetailViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ - (void)hideButtonList:(BOOL)hide {
925925
}
926926
else {
927927
buttonsView.hidden = NO;
928-
CGFloat bottomInset = buttonsViewBgToolbar.frame.size.height;
928+
CGFloat bottomInset = buttonsView.frame.size.height;
929929
[self setViewInset:dataList bottom:bottomInset];
930930
[self setViewInset:collectionView bottom:bottomInset];
931931
}
@@ -1112,7 +1112,7 @@ - (void)showMore {
11121112
moreItemsViewController = [[MoreItemsViewController alloc] initWithFrame:CGRectMake(dataList.bounds.size.width, 0, dataList.bounds.size.width, dataList.bounds.size.height) mainMenu:moreMenu];
11131113
moreItemsViewController.view.backgroundColor = UIColor.clearColor;
11141114
UIEdgeInsets tableViewInsets = UIEdgeInsetsZero;
1115-
tableViewInsets.bottom = buttonsViewBgToolbar.frame.size.height;
1115+
tableViewInsets.bottom = buttonsView.frame.size.height;
11161116
moreItemsViewController.tableView.contentInset = tableViewInsets;
11171117
moreItemsViewController.tableView.scrollIndicatorInsets = tableViewInsets;
11181118
[moreItemsViewController.tableView setContentOffset:CGPointMake(0, - tableViewInsets.top) animated:NO];

0 commit comments

Comments
 (0)