Hopefully fixes some weird states where the bottom nav shows up when it shouldn't. (cherry picked from commit 593091a5e304eff771604ff2a91cdc0c886c4d68)
Hopefully fixes some weird states where the bottom nav shows up when it shouldn't. (cherry picked from commit 593091a5e304eff771604ff2a91cdc0c886c4d68)