diff --git a/LightboxOverlay.js b/LightboxOverlay.js index 9e01f9a..7637e40 100644 --- a/LightboxOverlay.js +++ b/LightboxOverlay.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import { Animated, Dimensions, Modal, PanResponder, Platform, StatusBar, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; +import { Animated, Dimensions, Modal, PanResponder, Platform, StatusBar, SafeAreaView, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; const WINDOW_HEIGHT = Dimensions.get('window').height; const WINDOW_WIDTH = Dimensions.get('window').width; @@ -220,9 +220,11 @@ export default class LightboxOverlay extends Component { const header = ({(renderHeader ? renderHeader(this.close) : ( - - × - + + + × + + ) )}); const content = (