update url for stop download

This commit is contained in:
Akinwale Ariwodola 2020-01-15 06:50:06 +01:00
parent fefc13bc7a
commit ddc9078294

View file

@ -382,7 +382,7 @@ class FilePage extends React.PureComponent {
{
text: __('Yes'),
onPress: () => {
const { uri } = navigation.state.params;
const uri = this.getPurchaseUrl();
stopDownload(uri, fileInfo);
deletePurchasedUri(uri);
if (NativeModules.UtilityModule) {