Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/PDFView/index.native.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {View} from 'react-native';
import {TouchableWithoutFeedback} from 'react-native';
import PDF from 'react-native-pdf';
import styles, {getWidthAndHeightStyle} from '../../styles/styles';
import withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';
Expand Down Expand Up @@ -30,7 +30,7 @@ const defaultProps = {
*/

const PDFView = props => (
<View style={[styles.flex1, props.style]}>
<TouchableWithoutFeedback style={[styles.flex1, props.style]}>
<PDF
activityIndicator={<FullScreenLoadingIndicator />}
source={{uri: props.sourceURL}}
Expand All @@ -39,7 +39,7 @@ const PDFView = props => (
getWidthAndHeightStyle(props.windowWidth, props.windowHeight),
]}
/>
</View>
</TouchableWithoutFeedback>
);

PDFView.propTypes = propTypes;
Expand Down