Skip to content

Commit

Permalink
Fixed blank screen when space occurs in filename
Browse files Browse the repository at this point in the history
Fixes #694
  • Loading branch information
scarlac authored Oct 20, 2022
1 parent 095723b commit c7506f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default class Pdf extends Component {
} else {
if (this._mounted) {
this.setState({
path: uri.replace(/file:\/\//i, ''),
path: unescape(uri.replace(/file:\/\//i, '')),
isDownloaded: true,
});
}
Expand Down

0 comments on commit c7506f6

Please sign in to comment.