Skip to content

Commit 0a4f2ba

Browse files
authored
fix(iOS): remove current index check (#768)
1 parent ecb77e6 commit 0a4f2ba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ios/Fabric/RNCPagerViewComponentView.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ - (void)enableSwipe {
192192
- (void)goTo:(NSInteger)index animated:(BOOL)animated {
193193
NSInteger numberOfPages = _nativeChildrenViewControllers.count;
194194

195-
if (index == _currentIndex) {
196-
return;
197-
}
198-
199195
[self disableSwipe];
200196

201197
_destinationIndex = index;

0 commit comments

Comments
 (0)