diff --git a/ui/frame/frame.android.ts b/ui/frame/frame.android.ts index 255f1bb73..96ca4506d 100644 --- a/ui/frame/frame.android.ts +++ b/ui/frame/frame.android.ts @@ -710,7 +710,8 @@ class NativeScriptActivity extends android.app.Activity { if (frameId >= 0) { rootView = getFrameById(frameId); } - else if (!rootView) { + + if (!rootView) { navParam = application.mainEntry; if (!navParam) { navParam = application.mainModule;