Skip to content

Commit 54bab06

Browse files
committed
fixup 3
1 parent 56585f0 commit 54bab06

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

XBMC Remote/DetailViewController.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,15 +1962,14 @@ - (void)indexViewValueChanged:(BDKCollectionIndexView*)sender {
19621962
return;
19631963
}
19641964
else if (sender.currentIndex == 0) {
1965-
CGPoint tableInset = CGPointMake(0, -[self getTableInsetTop]);
19661965
if (enableCollectionView) {
1967-
[collectionView setContentOffset:tableInset animated:NO];
1966+
[collectionView setContentOffset:CGPointMake(0, -collectionView.contentInset.top) animated:NO];
19681967
if (sectionNameOverlayView == nil && stackscrollFullscreen) {
19691968
[self initSectionNameOverlayView];
19701969
}
19711970
}
19721971
else {
1973-
[dataList setContentOffset:tableInset animated:NO];
1972+
[dataList setContentOffset:CGPointMake(0, -dataList.contentInset.top) animated:NO];
19741973
}
19751974
sectionNameLabel.text = @"🔍";
19761975
return;

0 commit comments

Comments
 (0)