Skip to content

Commit

Permalink
Merge pull request #26936 from bernhardoj/fix/26317-pdf-fit
Browse files Browse the repository at this point in the history
Fit pdf to the width of the device screen
  • Loading branch information
mountiny authored Sep 14, 2023
2 parents 6764fd1 + f72dca0 commit 95c9e47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PDFView/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class PDFView extends Component {
)}
{this.state.shouldAttemptPDFLoad && (
<PDF
fitPolicy={0}
trustAllCerts={false}
renderActivityIndicator={() => <FullScreenLoadingIndicator />}
source={{uri: this.props.sourceURL}}
Expand Down

0 comments on commit 95c9e47

Please sign in to comment.