File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/core-tabs/tab-navigation Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,6 @@ export abstract class TabNavigation<
282
282
constructor ( ) {
283
283
super ( ) ;
284
284
this . viewController = this . createViewController ( ) ;
285
- // this.viewController = UIPageViewControllerImpl.initWithOwner(new WeakRef(this));
286
285
}
287
286
288
287
createNativeView ( ) {
@@ -416,18 +415,8 @@ export abstract class TabNavigation<
416
415
}
417
416
418
417
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
- // }
424
418
if ( this . viewController . viewControllers && this . viewController . viewControllers . containsObject ( viewController ) ) {
425
419
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
- // }
431
420
}
432
421
}
433
422
You can’t perform that action at this time.
0 commit comments