react-native-map-link 3.3.0 → 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,9 +68,9 @@ const Popup = ({ isVisible, showHeader = true, customHeader, customFooter, onApp
68
68
  });
69
69
  onAppPressed(app);
70
70
  };
71
- return (<react_native_1.Modal visible={isVisible} animationType="slide" onRequestClose={() => {
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
75
  <react_native_1.View style={[styles.modalView, style.modalView]}>
76
76
  <PopupHeader_1.default showHeader={showHeader} customHeader={customHeader} style={style} options={options}/>
@@ -83,14 +83,13 @@ const Popup = ({ isVisible, showHeader = true, customHeader, customFooter, onApp
83
83
  exports.Popup = Popup;
84
84
  const styles = react_native_1.StyleSheet.create({
85
85
  container: {
86
- backgroundColor: 'white',
87
- borderRadius: 10,
88
- maxHeight: SCREEN_HEIGHT * 0.6,
86
+ backgroundColor: 'rgba(255,255,255,0.4)',
89
87
  flex: 1,
90
88
  justifyContent: 'center',
91
89
  alignItems: 'center',
92
90
  },
93
91
  modalView: {
92
+ maxHeight: SCREEN_HEIGHT * 0.6,
94
93
  margin: 20,
95
94
  backgroundColor: 'white',
96
95
  borderRadius: 20,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-map-link",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Open the map app of the user's choice with a specific location.",
5
5
  "source": "src/index",
6
6
  "main": "lib/index.js",