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>
</View> </View>
<InviteCodes /> {store.session.hasSession && <InviteCodes />}
<View> <View>
<TouchableOpacity <TouchableOpacity
style={[styles.darkModeToggle]} style={[styles.darkModeToggle]}
@ -158,6 +158,7 @@ const styles = StyleSheet.create({
alignItems: 'center', alignItems: 'center',
gap: 8, gap: 8,
marginHorizontal: 12, marginHorizontal: 12,
marginTop: 8,
}, },
darkModeToggleIcon: { darkModeToggleIcon: {
flexDirection: 'row', flexDirection: 'row',

View File

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