More fixes to mobile onboard

This commit is contained in:
Paul Frazee 2023-08-30 15:15:10 -07:00
parent 05d1d8d8a4
commit 8ed6e72ea4
8 changed files with 255 additions and 166 deletions

View file

@ -28,6 +28,7 @@ const ShellInner = observer(() => {
})
}, [navigator, store.shell])
const showBottomBar = !isDesktop && !store.onboarding.isActive
const showSideNavs =
isDesktop && store.session.hasSession && !store.onboarding.isActive
return (
@ -52,7 +53,7 @@ const ShellInner = observer(() => {
onPost={store.shell.composerOpts?.onPost}
mention={store.shell.composerOpts?.mention}
/>
{!isDesktop && <BottomBarWeb />}
{showBottomBar && <BottomBarWeb />}
<ModalsContainer />
<Lightbox />
{!isDesktop && store.shell.isDrawerOpen && (