diff options
-rw-r--r-- | src/view/shell/desktop/RightNav.tsx | 3 | ||||
-rw-r--r-- | src/view/shell/index.web.tsx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 4fae64fef..462627c41 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -59,7 +59,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() { /> </View> </View> - <InviteCodes /> + {store.session.hasSession && <InviteCodes />} <View> <TouchableOpacity style={[styles.darkModeToggle]} @@ -158,6 +158,7 @@ const styles = StyleSheet.create({ alignItems: 'center', gap: 8, marginHorizontal: 12, + marginTop: 8, }, darkModeToggleIcon: { flexDirection: 'row', diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index 68ce370ed..8dd0bc63d 100644 --- a/src/view/shell/index.web.tsx +++ b/src/view/shell/index.web.tsx @@ -38,7 +38,7 @@ const ShellInner = observer(() => { </View> {isDesktop && ( <> - <DesktopLeftNav /> + {store.session.hasSession && <DesktopLeftNav />} <DesktopRightNav /> </> )} |