react-native-map-link 3.2.2 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -68,17 +68,14 @@ const Popup = ({ isVisible, showHeader = true, customHeader, customFooter, onApp
|
|
|
68
68
|
});
|
|
69
69
|
onAppPressed(app);
|
|
70
70
|
};
|
|
71
|
-
return (<react_native_1.Modal
|
|
71
|
+
return (<react_native_1.Modal animationType="slide" onRequestClose={() => {
|
|
72
72
|
setIsVisible(false);
|
|
73
|
-
}} {...modalProps}>
|
|
73
|
+
}} transparent={true} visible={isVisible} {...modalProps}>
|
|
74
74
|
<react_native_1.View style={[styles.container, style.container]}>
|
|
75
|
-
<react_native_1.View style={styles.modalView}>
|
|
75
|
+
<react_native_1.View style={[styles.modalView, style.modalView]}>
|
|
76
76
|
<PopupHeader_1.default showHeader={showHeader} customHeader={customHeader} style={style} options={options}/>
|
|
77
77
|
<PopupBody_1.default apps={apps} isLoading={isLoading} style={style} titles={titles} onAppPressed={_onAppPressed}/>
|
|
78
|
-
<PopupFooter_1.default customFooter={customFooter} onCancelPressed={onCancelPressed} style={{
|
|
79
|
-
cancelButtonContainer: style.cancelButtonContainer,
|
|
80
|
-
cancelButtonText: style.cancelButtonText,
|
|
81
|
-
}} options={options}/>
|
|
78
|
+
<PopupFooter_1.default customFooter={customFooter} onCancelPressed={onCancelPressed} style={style} options={options}/>
|
|
82
79
|
</react_native_1.View>
|
|
83
80
|
</react_native_1.View>
|
|
84
81
|
</react_native_1.Modal>);
|
|
@@ -86,14 +83,13 @@ const Popup = ({ isVisible, showHeader = true, customHeader, customFooter, onApp
|
|
|
86
83
|
exports.Popup = Popup;
|
|
87
84
|
const styles = react_native_1.StyleSheet.create({
|
|
88
85
|
container: {
|
|
89
|
-
backgroundColor: '
|
|
90
|
-
borderRadius: 10,
|
|
91
|
-
maxHeight: SCREEN_HEIGHT * 0.6,
|
|
86
|
+
backgroundColor: 'rgba(255,255,255,0.4)',
|
|
92
87
|
flex: 1,
|
|
93
88
|
justifyContent: 'center',
|
|
94
89
|
alignItems: 'center',
|
|
95
90
|
},
|
|
96
91
|
modalView: {
|
|
92
|
+
maxHeight: SCREEN_HEIGHT * 0.6,
|
|
97
93
|
margin: 20,
|
|
98
94
|
backgroundColor: 'white',
|
|
99
95
|
borderRadius: 20,
|