Skip to content

Commit

Permalink
Merge pull request #6840 from aswin-s/aswin-s/issue_6613
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam committed Dec 24, 2021
2 parents 8a26663 + 83f7f75 commit bf65263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/fileDownload/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ export default function fileDownload(url, fileName) {
hasAndroidPermission().then((hasPermission) => {
if (hasPermission) {
handleDownload(url, fileName).then(() => resolve());
} else {
showAlert(permissionError);
}

showAlert(permissionError);
return resolve();
}).catch(() => {
showAlert(permissionError);
Expand Down

0 comments on commit bf65263

Please sign in to comment.