diff --git a/src/page/file/index.js b/src/page/file/index.js index f5f8961..78a2e5d 100644 --- a/src/page/file/index.js +++ b/src/page/file/index.js @@ -77,8 +77,8 @@ const perform = dispatch => ({ purchaseUri: (uri, costInfo, saveFile) => dispatch(doPurchaseUri(uri, costInfo, saveFile)), deletePurchasedUri: uri => dispatch(doDeletePurchasedUri(uri)), resolveUri: uri => dispatch(doResolveUri(uri)), - sendTip: (amount, claimId, uri, successCallback, errorCallback) => - dispatch(doSendTip(amount, claimId, uri, successCallback, errorCallback)), + sendTip: (amount, claimId, isSupport, successCallback, errorCallback) => + dispatch(doSendTip(amount, claimId, isSupport, successCallback, errorCallback)), setPlayerVisible: () => dispatch(doSetPlayerVisible(true)), stopDownload: (uri, fileInfo) => dispatch(doStopDownloadingFile(uri, fileInfo)), startDownload: (uri, outpoint, fileInfo) => dispatch(doStartDownload(uri, outpoint, fileInfo)), diff --git a/src/page/file/view.js b/src/page/file/view.js index 41faa94..56b5957 100644 --- a/src/page/file/view.js +++ b/src/page/file/view.js @@ -497,7 +497,7 @@ class FilePage extends React.PureComponent { return; } - sendTip(tipAmount, claim.claim_id, uri, () => { + sendTip(tipAmount, claim.claim_id, isSupport: false, () => { this.setState({ tipAmount: 0, showTipView: false }); }); };