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) {