Skip to content

Commit 26fe4ec

Browse files
committed
chore: cleanup
1 parent 3984b50 commit 26fe4ec

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/core-tabs/tab-navigation/index.ios.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ export abstract class TabNavigation<
282282
constructor() {
283283
super();
284284
this.viewController = this.createViewController();
285-
// this.viewController = UIPageViewControllerImpl.initWithOwner(new WeakRef(this));
286285
}
287286

288287
createNativeView() {
@@ -416,18 +415,8 @@ export abstract class TabNavigation<
416415
}
417416

418417
public _onViewControllerShown(viewController: UIViewController) {
419-
// This method could be called with the moreNavigationController or its list controller, so we have to check.
420-
// TODO
421-
// if (traceEnabled()) {
422-
// traceWrite("TabView._onViewControllerShown(" + viewController + ");", traceCategories.Debug);
423-
// }
424418
if (this.viewController.viewControllers && this.viewController.viewControllers.containsObject(viewController)) {
425419
this.selectedIndex = this.viewController.viewControllers.indexOfObject(viewController);
426-
} else {
427-
// TODO
428-
// if (traceEnabled()) {
429-
// traceWrite("TabView._onViewControllerShown: viewController is not one of our viewControllers", traceCategories.Debug);
430-
// }
431420
}
432421
}
433422

0 commit comments

Comments
 (0)