File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ export class BottomNavigation extends TabNavigationBase {
404404 const activity = Application . android . foregroundActivity ;
405405 if (
406406 ( this . _manager && this . _manager . isDestroyed ( ) ) ||
407- ( activity instanceof androidx . fragment . app . FragmentActivity && ! activity . getLifecycle ( ) . getCurrentState ( ) . isAtLeast ( androidx . lifecycle . Lifecycle . State . STARTED ) )
407+ ( activity instanceof androidx . fragment . app . FragmentActivity && ! activity . getLifecycle ( ) . getCurrentState ( ) . isAtLeast ( androidx . lifecycle . Lifecycle . State . CREATED ) )
408408 ) {
409409 return ;
410410 }
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ export class Tabs extends TabsBase {
515515 const activity = Application . android . foregroundActivity ;
516516 if (
517517 ( this . _manager && this . _manager . isDestroyed ( ) ) ||
518- ( activity instanceof androidx . fragment . app . FragmentActivity && ! activity . getLifecycle ( ) . getCurrentState ( ) . isAtLeast ( androidx . lifecycle . Lifecycle . State . STARTED ) )
518+ ( activity instanceof androidx . fragment . app . FragmentActivity && ! activity . getLifecycle ( ) . getCurrentState ( ) . isAtLeast ( androidx . lifecycle . Lifecycle . State . CREATED ) )
519519 ) {
520520 return ;
521521 }
You can’t perform that action at this time.
0 commit comments