From e7536289cbb4380dc82dcd70737e165727cbbb92 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Wed, 9 Nov 2022 15:57:49 -0600
Subject: Add scene creator

---
 src/view/com/modals/Modal.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/view/com/modals/Modal.tsx')

diff --git a/src/view/com/modals/Modal.tsx b/src/view/com/modals/Modal.tsx
index 02b65a490..f79a571d4 100644
--- a/src/view/com/modals/Modal.tsx
+++ b/src/view/com/modals/Modal.tsx
@@ -5,11 +5,12 @@ import BottomSheet from '@gorhom/bottom-sheet'
 import {useStores} from '../../../state'
 import {createCustomBackdrop} from '../util/BottomSheetCustomBackdrop'
 
-import * as models from '../../../state/models/shell'
+import * as models from '../../../state/models/shell-ui'
 
 import * as LinkActionsModal from './LinkActions'
 import * as SharePostModal from './SharePost.native'
 import * as EditProfile from './EditProfile'
+import * as CreateScene from './CreateScene'
 
 const CLOSED_SNAPPOINTS = ['10%']
 
@@ -57,6 +58,9 @@ export const Modal = observer(function Modal() {
         {...(store.shell.activeModal as models.EditProfileModel)}
       />
     )
+  } else if (store.shell.activeModal?.name === 'create-scene') {
+    snapPoints = CreateScene.snapPoints
+    element = <CreateScene.Component />
   } else {
     element = <View />
   }
-- 
cgit 1.4.1

