After setRoot(TabsPage), the default tab page appears twice

I my case, I wanted to send user to TabsPage if native storage has the login set to 1.
But my tabs were not being focused correctly. They were working, but their color on selection was not being updated.

NgZone solved my problem.

Thanks a lot.

where put it??
I got error:
Error: StaticInjectorError(AppModule)[Nav → NavController]:

I had followed same steps but i am getting this.tabs.getSelected() null. Could you please do suggest?

This solution worked perfectly