about summary refs log tree commit diff
path: root/src/view/shell/desktop/RightNav.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-30 13:45:44 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-05-30 13:45:44 -0500
commit7a7b99d033d532a2f119f5f823aaff04e940fea1 (patch)
tree9a3c5b2cb7ac43e627ae526b56e901d9ebec76ea /src/view/shell/desktop/RightNav.tsx
parenta51d5dc7e2a104faba9c19432190f86647dd49d2 (diff)
parentcaab6309dfb7592f50e51c6aae8d2266c19d8098 (diff)
downloadvoidsky-7a7b99d033d532a2f119f5f823aaff04e940fea1.tar.zst
Merge branch 'main' of https://github.com/ivansilvestre/social-app into ivansilvestre-main
Diffstat (limited to 'src/view/shell/desktop/RightNav.tsx')
-rw-r--r--src/view/shell/desktop/RightNav.tsx3
1 files changed, 2 insertions, 1 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',