We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e959e6 commit f353469Copy full SHA for f353469
XBMC Remote/DetailViewController.m
@@ -2171,7 +2171,9 @@ - (void)choseParams {
2171
#pragma mark - Table Management
2172
2173
- (CGFloat)getTableInsetTop {
2174
- return IS_IPHONE ? [Utilities getTopPaddingWithNavBar:self.navigationController] : 0;
+ // Workaround: -1.0 to avoid empty space between collection view's section header and navbar, which
2175
+ // happens for some devices where maxY of navigation bar is not identical to getTopPaddingWithNavBar.
2176
+ return IS_IPHONE ? [Utilities getTopPaddingWithNavBar:self.navigationController] - 1.0 : 0;
2177
}
2178
2179
- (void)setSearchBar:(UISearchBar*)searchBar toDark:(BOOL)isDark {
0 commit comments