Sidemenu icon not showing after login on home page

Hi All

I have a problem with my app, side muni icon is not showing after login, I have to close and reopen the app to have it load again.

Call this inside your login page

import {  MenuController } from '@ionic/angular';

constructor(public menuCtrl: MenuController){  }

ionViewWillEnter() {
   ionViewDidLeave() {
    // enable the root left menu when leaving the login page