From 4e3bd44f4e0f87efe61c5623f9f7fc08eaff0447 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 29 Aug 2019 00:11:10 -0400 Subject: [PATCH] duh --- src/ui/redux/actions/content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/redux/actions/content.js b/src/ui/redux/actions/content.js index cc8f431a5..abee5b55a 100644 --- a/src/ui/redux/actions/content.js +++ b/src/ui/redux/actions/content.js @@ -210,7 +210,7 @@ export function doPlayUri(uri: string, skipCostCheck: boolean = false, saveFileO dispatch(doPurchaseUriWrapper(uri, cost, saveFile)); } - function attemptPlay(instantPurchaseEnabled = false, instantPurchaseMax = null) { + function attemptPlay(instantPurchaseMax = null) { // If you have a file_list entry, you have already purchased the file if (!fileInfo && (!instantPurchaseMax || !instantPurchaseEnabled || cost > instantPurchaseMax)) { dispatch(doOpenModal(MODALS.AFFIRM_PURCHASE, { uri })); @@ -230,7 +230,7 @@ export function doPlayUri(uri: string, skipCostCheck: boolean = false, saveFileO } if (instantPurchaseEnabled || instantPurchaseMax.currency === 'LBC') { - attemptPlay(instantPurchaseEnabled, instantPurchaseMax.amount); + attemptPlay(instantPurchaseMax.amount); } else { // Need to convert currency of instant purchase maximum before trying to play Lbryapi.getExchangeRates().then(({ LBC_USD }) => {