about summary refs log tree commit diff
path: root/src/App.web.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-07-25 18:31:42 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-07-25 18:31:42 -0500
commitaf55a89758fc6d44896051b9ddd015a73b92e0f6 (patch)
tree5b9e4e226c6fc9210029325daf879cf627b0a1c2 /src/App.web.tsx
parent3794eca88e13c3c292b0f64b1acb1169ecbeb83d (diff)
downloadvoidsky-af55a89758fc6d44896051b9ddd015a73b92e0f6.tar.zst
Add share bottom-sheet to feed and thread
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r--src/App.web.tsx12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx
index 018ac4003..838b81ee2 100644
--- a/src/App.web.tsx
+++ b/src/App.web.tsx
@@ -1,4 +1,6 @@
 import React, {useState, useEffect} from 'react'
+import {RootSiblingParent} from 'react-native-root-siblings'
+import {GestureHandlerRootView} from 'react-native-gesture-handler'
 import * as view from './view/index'
 import {RootStoreModel, setupState, RootStoreProvider} from './state'
 import * as Routes from './view/routes'
@@ -20,9 +22,13 @@ function App() {
   }
 
   return (
-    <RootStoreProvider value={rootStore}>
-      <Routes.Root />
-    </RootStoreProvider>
+    <GestureHandlerRootView style={{flex: 1}}>
+      <RootSiblingParent>
+        <RootStoreProvider value={rootStore}>
+          <Routes.Root />
+        </RootStoreProvider>
+      </RootSiblingParent>
+    </GestureHandlerRootView>
   )
 }