about summary refs log tree commit diff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/@mattermost+react-native-paste-input+0.7.1.patch (renamed from patches/@mattermost+react-native-paste-input+0.8.1.patch)15
1 files changed, 6 insertions, 9 deletions
diff --git a/patches/@mattermost+react-native-paste-input+0.8.1.patch b/patches/@mattermost+react-native-paste-input+0.7.1.patch
index a6d1513f1..f25b6a776 100644
--- a/patches/@mattermost+react-native-paste-input+0.8.1.patch
+++ b/patches/@mattermost+react-native-paste-input+0.7.1.patch
@@ -1,19 +1,16 @@
 diff --git a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m
-index e916023..9968f3c 100644
+index e916023..5049c33 100644
 --- a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m
 +++ b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m
-@@ -3,58 +3,87 @@
- //  PasteInput
+@@ -4,6 +4,7 @@
  //
  //  Created by Elias Nahum on 04-11-20.
--//  Copyright © 2020 Facebook. All rights reserved.
+ //  Copyright © 2020 Facebook. All rights reserved.
 +//  Updated to remove parent’s default text view
  //
  
  #import "PasteInputView.h"
- #import "PasteInputTextView.h"
--#import <React/RCTUtils.h>
-+#import <React/RCTUtils.h> // for RCTDirectEventBlock, etc.
+@@ -12,49 +13,78 @@
  
  @implementation PasteInputView
  {
@@ -117,7 +114,7 @@ index e916023..9968f3c 100644
  }
  
  #pragma mark - UIScrollViewDelegate
-@@ -62,7 +91,6 @@
+@@ -62,7 +92,6 @@
  - (void)scrollViewDidScroll:(UIScrollView *)scrollView
  {
    RCTDirectEventBlock onScroll = self.onScroll;
@@ -125,7 +122,7 @@ index e916023..9968f3c 100644
    if (onScroll) {
      CGPoint contentOffset = scrollView.contentOffset;
      CGSize contentSize = scrollView.contentSize;
-@@ -71,22 +99,22 @@
+@@ -71,22 +100,22 @@
  
      onScroll(@{
        @"contentOffset": @{