diff --git a/patches/react-native+0.79.2.patch b/patches/react-native+0.80.1.patch rename from patches/react-native+0.79.2.patch rename to patches/react-native+0.80.1.patch --- a/patches/react-native+0.79.2.patch +++ b/patches/react-native+0.80.1.patch @@ -1,8 +1,8 @@ -diff --git a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js -index a2f2081..d2b07f0 100644 ---- a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js -+++ b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js -@@ -261,6 +261,12 @@ export type EnterKeyHintTypeOptions = +diff --git a/node_modules/react-native/Libraries/Components/TextInput/TextInput.flow.js b/node_modules/react-native/Libraries/Components/TextInput/TextInput.flow.js +index 3db6ec5..e6b4b62 100644 +--- a/node_modules/react-native/Libraries/Components/TextInput/TextInput.flow.js ++++ b/node_modules/react-native/Libraries/Components/TextInput/TextInput.flow.js +@@ -268,6 +268,12 @@ export type EnterKeyHintTypeOptions = type PasswordRules = string; export type TextInputIOSProps = $ReadOnly<{ @@ -29,10 +29,10 @@ @property (nonatomic, strong, nullable) NSString *inputAccessoryViewButtonLabel; diff --git a/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.mm b/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.mm -index 565b0f6..9b25d53 100644 +index 6e9c384..fe0b9a8 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.mm +++ b/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.mm -@@ -197,8 +197,12 @@ - (void)scrollRangeToVisible:(NSRange)range +@@ -208,8 +208,12 @@ - (void)scrollRangeToVisible:(NSRange)range - (void)paste:(id)sender { @@ -47,7 +47,7 @@ } // Turn off scroll animation to fix flaky scrolling. -@@ -290,6 +294,10 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender +@@ -301,6 +305,10 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender return NO; } @@ -72,7 +72,7 @@ - (void)scrollViewDidScroll:(UIScrollView *)scrollView; diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm -index 6a2d4f8..e3b7e77 100644 +index 6a2d4f8..a4c7da0 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm +++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm @@ -20,6 +20,8 @@ @@ -84,10 +84,11 @@ /** Native iOS text field bottom keyboard offset amount */ static const CGFloat kSingleLineKeyboardBottomOffset = 15.0; static NSSet *returnKeyTypesSet; -@@ -599,6 +601,46 @@ - (void)textInputDidChangeSelection +@@ -599,6 +601,47 @@ - (void)textInputDidChangeSelection }); } ++ +- (void)textInputImagePasted:(NSString *)threadID +{ + NSFileManager *fileManager = [NSFileManager defaultManager]; @@ -132,7 +133,7 @@ { [self enforceTextAttributesIfNeeded]; diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm -index dd39699..1ea7b11 100644 +index 47adc53..48b06df 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm +++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm @@ -32,6 +32,7 @@ @implementation RCTBaseTextInputViewManager {