about summary refs log tree commit diff
path: root/patches
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-09 16:47:37 +0000
committerGitHub <noreply@github.com>2025-01-09 16:47:37 +0000
commitb49e93d58f56730eb66d132701c51e8b4c19736b (patch)
tree2a89b73a412d7201327c69f50ad829535e39f8e3 /patches
parentd10cbb8f42d022c05f8c4d89f3d3b1a8456c615f (diff)
downloadvoidsky-b49e93d58f56730eb66d132701c51e8b4c19736b.tar.zst
Downgrade paste input dependency (#7410)
* downgrade paste input

* rm wnitespace
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": @{