diff --git a/dist/bundle.es.js b/dist/bundle.es.js index c9772d0..5dd220a 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2075,7 +2075,7 @@ function doClaimRewardType(rewardType, options = {}) { reward_type: rewards.TYPE_REWARD_CODE } : unclaimedRewards.find(ur => ur.reward_type === rewardType); // Try to claim the email reward right away, even if we haven't called reward_list yet - if (rewardType !== rewards.TYPE_REWARD_CODE || rewardType !== rewards.TYPE_CONFIRM_EMAIL || rewardType !== rewards.TYPE_DAILY_VIEW || rewardType !== rewards.TYPE_NEW_ANDROID) { + if (rewardType !== rewards.TYPE_REWARD_CODE || rewardType !== rewards.TYPE_CONFIRM_EMAIL || rewardType !== rewards.TYPE_DAILY_VIEW || rewardType !== rewards.TYPE_NEW_ANDROID || rewardType !== rewards.TYPE_PAID_CONTENT) { if (!reward || reward.transaction_id) { // already claimed or doesn't exist, do nothing return; diff --git a/dist/bundle.js b/dist/bundle.js index a1362c0..66d32ec 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -4462,7 +4462,7 @@ function doClaimRewardType(rewardType) { return ur.reward_type === rewardType; }); // Try to claim the email reward right away, even if we haven't called reward_list yet - if (rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_REWARD_CODE || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_CONFIRM_EMAIL || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_DAILY_VIEW || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_NEW_ANDROID) { + if (rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_REWARD_CODE || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_CONFIRM_EMAIL || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_DAILY_VIEW || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_NEW_ANDROID || rewardType !== rewards__WEBPACK_IMPORTED_MODULE_5__["default"].TYPE_PAID_CONTENT) { if (!reward || reward.transaction_id) { // already claimed or doesn't exist, do nothing return; diff --git a/src/redux/actions/rewards.js b/src/redux/actions/rewards.js index 9c8b682..6269e54 100644 --- a/src/redux/actions/rewards.js +++ b/src/redux/actions/rewards.js @@ -42,7 +42,8 @@ export function doClaimRewardType(rewardType, options = {}) { rewardType !== rewards.TYPE_REWARD_CODE || rewardType !== rewards.TYPE_CONFIRM_EMAIL || rewardType !== rewards.TYPE_DAILY_VIEW || - rewardType !== rewards.TYPE_NEW_ANDROID + rewardType !== rewards.TYPE_NEW_ANDROID || + rewardType !== rewards.TYPE_PAID_CONTENT ) { if (!reward || reward.transaction_id) { // already claimed or doesn't exist, do nothing