Rocket.Chat.ReactNative/patches/react-native-ui-lib+7.2.1.p...

40 lines
2.1 KiB
Diff
Raw Normal View History

diff --git a/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.h b/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.h
index b3864d0..e78322f 100644
--- a/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.h
+++ b/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.h
@@ -8,7 +8,7 @@
#if __has_include(<React/RCTEventEmitter.h>)
#import <React/RCTEventEmitter.h>
#else
-#import "RCTEventEmitter.h"
+#import <React/RCTEventEmitter.h>
#endif
@interface RCTCustomInputControllerTemp : RCTEventEmitter
diff --git a/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h b/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h
index 4344724..2786051 100644
--- a/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h
+++ b/node_modules/react-native-ui-lib/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h
@@ -10,7 +10,7 @@
#if __has_include(<React/RCTRootView.h>)
#import <React/RCTRootView.h>
#else
-#import "RCTRootView.h"
+#import <React/RCTRootView.h>
#endif
@interface RCTCustomKeyboardViewControllerTemp : UIInputViewController
diff --git a/node_modules/react-native-ui-lib/src/commons/Constants.ts b/node_modules/react-native-ui-lib/src/commons/Constants.ts
index c029d61..77f60f7 100644
--- a/node_modules/react-native-ui-lib/src/commons/Constants.ts
+++ b/node_modules/react-native-ui-lib/src/commons/Constants.ts
@@ -139,7 +139,7 @@ const constants = {
if (callback.remove) {
callback.remove();
} else {
- Dimensions.removeEventListener('change', callback);
+ // Dimensions.removeEventListener('change', callback);
}
},
/* Accessibility */