From f73e1c3e0fd51f7c564d64dfde9284beac15aa76 Mon Sep 17 00:00:00 2001 From: minibits-cash Date: Mon, 17 Mar 2025 14:05:52 +0100 Subject: [PATCH] Fix patch rnexit app --- patches/react-native-exit-app+2.0.0.patch | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/patches/react-native-exit-app+2.0.0.patch b/patches/react-native-exit-app+2.0.0.patch index 1950b836..881eeade 100644 --- a/patches/react-native-exit-app+2.0.0.patch +++ b/patches/react-native-exit-app+2.0.0.patch @@ -1,20 +1,15 @@ +diff --git a/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h b/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h +index 3d7124c..e200589 100644 --- a/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h +++ b/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h -@@ -1,13 +1,13 @@ - #if __has_include() - #import --#elif __has_include("RCTBridgeModule.h") --#import "RCTBridgeModule.h" -+#elif __has_include() -+#import - #else --#import "React/RCTBridgeModule.h" -+#import +@@ -6,10 +6,6 @@ + #import "React/RCTBridgeModule.h" #endif - #if RCT_NEW_ARCH_ENABLED +-#if RCT_NEW_ARCH_ENABLED -#import -+#import - #endif +-#endif +- + @interface RNExitApp : NSObject + @end - @interface RNExitApp : NSObject \ No newline at end of file