From 3df953b73d235f4ab9dc1264f8018db57a5b02ad Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 10 Mar 2023 14:47:54 -0600 Subject: [PATCH] Remove react-native-gesture-handler (no longer used) --- package.json | 2 -- src/App.native.tsx | 26 +++++++++++--------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index b8e4fe2e37..6163dd66ee 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,6 @@ "react-native-background-fetch": "^4.1.8", "react-native-fast-image": "^8.6.3", "react-native-fs": "^2.20.0", - "react-native-gesture-handler": "^2.5.0", "react-native-haptic-feedback": "^1.14.0", "react-native-image-crop-picker": "^0.38.1", "react-native-inappbrowser-reborn": "^3.6.3", @@ -149,7 +148,6 @@ "preset": "jest-expo/ios", "setupFilesAfterEnv": [ "./jest/jestSetup.js", - "./node_modules/react-native-gesture-handler/jestSetup.js", "@testing-library/jest-native/extend-expect" ], "moduleFileExtensions": [ diff --git a/src/App.native.tsx b/src/App.native.tsx index 51090ae98c..f5b332b908 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -2,7 +2,6 @@ import 'react-native-url-polyfill/auto' import React, {useState, useEffect} from 'react' import {Linking} from 'react-native' import {RootSiblingParent} from 'react-native-root-siblings' -import {GestureHandlerRootView} from 'react-native-gesture-handler' import SplashScreen from 'react-native-splash-screen' import {SafeAreaProvider} from 'react-native-safe-area-context' import {observer} from 'mobx-react-lite' @@ -10,7 +9,6 @@ import {ThemeProvider} from 'lib/ThemeContext' import * as view from './view/index' import {RootStoreModel, setupState, RootStoreProvider} from './state' import {Shell} from './view/shell' -import {s} from 'lib/styles' import * as notifee from 'lib/notifee' import * as analytics from 'lib/analytics' import * as Toast from './view/com/util/Toast' @@ -48,19 +46,17 @@ const App = observer(() => { return null } return ( - - - - - - - - - - - - - + + + + + + + + + + + ) })