Loading of Logged In Page with previous login page processing


#1

Hello,

Each time with opening of app, user checking code in home.ts loads this.navCtrl.setRoot(LoggedinPage);, to keep user logged in.

Before LoggedinPage is loaded, the login form of home.ts appears for a moment. How to avoid this.

I’ve tried <div *ngIf="isLoggedIn; else loginTemplate"> in home.html but same result