We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc8e06 commit 197d802Copy full SHA for 197d802
nativescript-angular/platform-common.ts
@@ -302,7 +302,7 @@ export class NativeScriptPlatformRef extends PlatformRef {
302
303
lastBootstrappedModule = new WeakRef(moduleRef);
304
Application.resetRootView({
305
- create: () => getRootPage(),
+ create: () => (getRootPage() instanceof AppHostView ? ((<any>getRootPage()) as AppHostView).ngAppRoot : getRootPage()),
306
});
307
},
308
(error) => {
0 commit comments