From ddc907829419c81a1989bdb138b047d7eca082e3 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 15 Jan 2020 06:50:06 +0100 Subject: [PATCH] update url for stop download --- src/page/file/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/file/view.js b/src/page/file/view.js index 18d2d31..e3f96c3 100644 --- a/src/page/file/view.js +++ b/src/page/file/view.js @@ -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) {