-
-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update patch for react-native-safe-area-context
- Loading branch information
Showing
2 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
30 changes: 0 additions & 30 deletions
30
Example/patches/react-native-safe-area-context+4.10.5.patch
This file was deleted.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
Example/patches/react-native-safe-area-context+5.0.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
diff --git a/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerDelegate.java b/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerDelegate.java | ||
index dd4ef6c..5043a0f 100644 | ||
--- a/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerDelegate.java | ||
+++ b/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerDelegate.java | ||
@@ -11,12 +11,13 @@ package com.facebook.react.viewmanagers; | ||
|
||
import android.view.View; | ||
import androidx.annotation.Nullable; | ||
+import com.facebook.react.uimanager.BaseViewManager; | ||
import com.facebook.react.uimanager.BaseViewManagerDelegate; | ||
-import com.facebook.react.uimanager.BaseViewManagerInterface; | ||
+import com.facebook.react.uimanager.LayoutShadowNode; | ||
|
||
public class RNCSafeAreaProviderManagerDelegate< | ||
T extends View, | ||
- U extends BaseViewManagerInterface<T> & RNCSafeAreaProviderManagerInterface<T>> | ||
+ U extends BaseViewManager<T, ? extends LayoutShadowNode> & RNCSafeAreaProviderManagerInterface<T>> | ||
extends BaseViewManagerDelegate<T, U> { | ||
public RNCSafeAreaProviderManagerDelegate(U viewManager) { | ||
super(viewManager); | ||
diff --git a/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerDelegate.java b/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerDelegate.java | ||
index de1686c..2c077ce 100644 | ||
--- a/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerDelegate.java | ||
+++ b/node_modules/react-native-safe-area-context/android/src/paper/java/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerDelegate.java | ||
@@ -12,11 +12,12 @@ package com.facebook.react.viewmanagers; | ||
import android.view.View; | ||
import androidx.annotation.Nullable; | ||
import com.facebook.react.bridge.ReadableMap; | ||
+import com.facebook.react.uimanager.BaseViewManager; | ||
import com.facebook.react.uimanager.BaseViewManagerDelegate; | ||
-import com.facebook.react.uimanager.BaseViewManagerInterface; | ||
+import com.facebook.react.uimanager.LayoutShadowNode; | ||
|
||
public class RNCSafeAreaViewManagerDelegate< | ||
- T extends View, U extends BaseViewManagerInterface<T> & RNCSafeAreaViewManagerInterface<T>> | ||
+ T extends View, U extends BaseViewManager<T, ? extends LayoutShadowNode> & RNCSafeAreaViewManagerInterface<T>> | ||
extends BaseViewManagerDelegate<T, U> { | ||
public RNCSafeAreaViewManagerDelegate(U viewManager) { | ||
super(viewManager); |