Skip to content

Commit

Permalink
Merge pull request wonday#695 from scarlac/patch-1
Browse files Browse the repository at this point in the history
Fixed blank screen when space occurs in filename
  • Loading branch information
wonday authored Feb 12, 2023
2 parents 2dcc161 + c7506f6 commit c320d06
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 @@ -232,7 +232,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 c320d06

Please sign in to comment.