Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: patch react-native-actions-sheet

ammarahm-ed512517cc64a1
diff --git a/apps/mobile/patches/react-native-actions-sheet+0.7.2.patch b/apps/mobile/patches/react-native-actions-sheet+0.7.2.patch
new file mode 100644
index 000000000..ca5449a14
--- /dev/null
+++ b/apps/mobile/patches/react-native-actions-sheet+0.7.2.patch
@@ -0,0 +1,21 @@
+diff --git a/node_modules/react-native-actions-sheet/dist/src/index.js b/node_modules/react-native-actions-sheet/dist/src/index.js
+index 7eb4357..18bf26d 100644
+--- a/node_modules/react-native-actions-sheet/dist/src/index.js
++++ b/node_modules/react-native-actions-sheet/dist/src/index.js
+@@ -747,7 +747,7 @@ var ActionSheet = /** @class */ (function (_super) {
+ width: "100%"
+ },
+ ]}>
+- {this.props.ExtraOverlayComponent}
++
+
+ <FlatList testID={(_a = this.props.testIDs) === null || _a === void 0 ? void 0 : _a.scrollview} bounces={false} keyboardShouldPersistTaps={keyboardShouldPersistTaps} keyboardDismissMode={keyboardDismissMode} ref={this.scrollViewRef} scrollEventThrottle={16} overScrollMode="never" showsVerticalScrollIndicator={false} onMomentumScrollBegin={this._onScrollBegin} onScrollEndDrag={this._onScrollEnd} onMomentumScrollEnd={this._onScrollEnd} scrollEnabled={scrollable} onScrollBeginDrag={this._onScrollBeginDrag} onTouchEnd={this._onTouchEnd} onScroll={this._onScroll} scrollsToTop={false} style={[
+ styles.scrollView,
+@@ -821,6 +821,7 @@ var ActionSheet = /** @class */ (function (_super) {
+ </Animated.View>
+ </View>);
+ }}/>
++ {this.props.ExtraOverlayComponent}
+ </Animated.View>
+ </Root>
+ </>);