File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments