Merge branch 'main' of https://github.com/ivansilvestre/social-app into ivansilvestre-main

zio/stable
Paul Frazee 2023-05-30 13:45:44 -05:00
commit 7a7b99d033
2 changed files with 3 additions and 2 deletions

View File

@ -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',

View File

@ -38,7 +38,7 @@ const ShellInner = observer(() => {
</View>
{isDesktop && (
<>
<DesktopLeftNav />
{store.session.hasSession && <DesktopLeftNav />}
<DesktopRightNav />
</>
)}