about summary refs log tree commit diff
path: root/src/view/shell/mobile/index.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-07 15:35:51 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-07 15:35:51 -0600
commitd228a5f4f5d118f30129f3bafd676bfe0e80bf38 (patch)
treee292e9d3b1f7a027298308ef583a7d3b90b59157 /src/view/shell/mobile/index.tsx
parentb4097e25d67739c0ab6bc5b5f6ce8ee062796458 (diff)
downloadvoidsky-d228a5f4f5d118f30129f3bafd676bfe0e80bf38.tar.zst
Add onboarding (WIP)
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r--src/view/shell/mobile/index.tsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index f30827951..b359bdcb3 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -27,6 +27,7 @@ import {useStores} from '../../../state'
 import {NavigationModel} from '../../../state/models/navigation'
 import {match, MatchResult} from '../../routes'
 import {Login} from '../../screens/Login'
+import {Onboard} from '../../screens/Onboard'
 import {Modal} from '../../com/modals/Modal'
 import {MainMenu} from './MainMenu'
 import {TabsSelector} from './TabsSelector'
@@ -161,6 +162,15 @@ export const MobileShell: React.FC = observer(() => {
       </LinearGradient>
     )
   }
+  if (store.onboard.isOnboarding) {
+    return (
+      <View style={styles.outerContainer}>
+        <View style={styles.innerContainer}>
+          <Onboard />
+        </View>
+      </View>
+    )
+  }
 
   return (
     <View style={styles.outerContainer}>