From f517c2457af4e26ec591ac8ae46a178b145988d3 Mon Sep 17 00:00:00 2001 From: Tom French <tom@tomfren.ch> Date: Sat, 7 May 2022 16:58:34 +0100 Subject: [PATCH] build: remove unused patch --- .../react-native-safe-area-view+0.14.9.patch | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 packages/mobile/patches/react-native-safe-area-view+0.14.9.patch diff --git a/packages/mobile/patches/react-native-safe-area-view+0.14.9.patch b/packages/mobile/patches/react-native-safe-area-view+0.14.9.patch deleted file mode 100644 index 6a6081031..000000000 --- a/packages/mobile/patches/react-native-safe-area-view+0.14.9.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/node_modules/react-native-safe-area-view/index.js b/node_modules/react-native-safe-area-view/index.js -index a21ff41..4a92960 100644 ---- a/node_modules/react-native-safe-area-view/index.js -+++ b/node_modules/react-native-safe-area-view/index.js -@@ -5,6 +5,7 @@ import { - Platform, - StyleSheet, - Animated, -+ NativeModules - } from 'react-native'; - import hoistStatics from 'hoist-non-react-statics'; - -@@ -86,11 +87,7 @@ const statusBarHeight = isLandscape => { - * we do. - */ - if (Platform.OS === 'android') { -- if (global.Expo) { -- return global.Expo.Constants.statusBarHeight; -- } else { -- return 0; -- } -+ return NativeModules.StatusBarHeight.statusBarHeight; - } - - if (isIPhoneX) { -- GitLab