fetching cost info fix

This commit is contained in:
Akinwale Ariwodola 2019-11-12 21:10:23 +01:00
parent 2e3e1a1250
commit e901e81074

View file

@ -840,7 +840,7 @@ class FilePage extends React.PureComponent {
(!completed && !this.state.streamingMode)) &&
!this.state.downloadPressed && (
<FileDownloadButton
uri={uri}
uri={claim && claim.permanent_url ? claim.permanent_url : uri}
style={filePageStyle.downloadButton}
openFile={openFile}
isPlayable={isPlayable}