diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/shell/TrendingGestureContext.tsx | 7 | ||||
-rw-r--r-- | src/view/shell/index.tsx | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/view/shell/TrendingGestureContext.tsx b/src/view/shell/TrendingGestureContext.tsx deleted file mode 100644 index 8f21f444b..000000000 --- a/src/view/shell/TrendingGestureContext.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import {createContext} from 'react' -import {Gesture} from 'react-native-gesture-handler' - -// Not really used but serves as a fallback for types. -const noopGesture = Gesture.Native() - -export const TrendingGestureContext = createContext(noopGesture) diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 80e63c6bc..3fbc9a3f3 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -34,7 +34,6 @@ import {BottomSheetOutlet} from '../../../modules/bottom-sheet' import {updateActiveViewAsync} from '../../../modules/expo-bluesky-swiss-army/src/VisibilityView' import {Composer} from './Composer' import {DrawerContent} from './Drawer' -import {TrendingGestureContext} from './TrendingGestureContext' function ShellInner() { const t = useTheme() @@ -145,9 +144,7 @@ function ShellInner() { dim: 'rgba(10, 13, 16, 0.8)', }), }}> - <TrendingGestureContext.Provider value={trendingScrollGesture}> - <TabsNavigator /> - </TrendingGestureContext.Provider> + <TabsNavigator /> </Drawer> </ErrorBoundary> </View> |