Hide both the left and right nav on desktop when logged out
parent
7a7b99d033
commit
e77c616970
|
@ -59,7 +59,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() {
|
|||
/>
|
||||
</View>
|
||||
</View>
|
||||
{store.session.hasSession && <InviteCodes />}
|
||||
<InviteCodes />
|
||||
<View>
|
||||
<TouchableOpacity
|
||||
style={[styles.darkModeToggle]}
|
||||
|
|
|
@ -36,9 +36,9 @@ const ShellInner = observer(() => {
|
|||
<FlatNavigator />
|
||||
</ErrorBoundary>
|
||||
</View>
|
||||
{isDesktop && (
|
||||
{isDesktop && store.session.hasSession && (
|
||||
<>
|
||||
{store.session.hasSession && <DesktopLeftNav />}
|
||||
<DesktopLeftNav />
|
||||
<DesktopRightNav />
|
||||
</>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue