Remove 'many_downloads' auto-claim (let user manually claim) (#1795)

Ticket: 1768
This commit is contained in:
infinite-persistence 2022-07-05 18:36:23 +08:00 committed by GitHub
parent da55cdbba8
commit 6696d32e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,8 +144,6 @@ export function doClaimEligiblePurchaseRewards() {
if (unclaimedRewards.find((ur) => ur.reward_type === rewards.TYPE_FIRST_STREAM)) { if (unclaimedRewards.find((ur) => ur.reward_type === rewards.TYPE_FIRST_STREAM)) {
dispatch(doClaimRewardType(rewards.TYPE_FIRST_STREAM)); dispatch(doClaimRewardType(rewards.TYPE_FIRST_STREAM));
} else { } else {
dispatch(doClaimRewardType(rewards.TYPE_MANY_DOWNLOADS, { failSilently: true }));
if (!selectWeeklyWatchClaimedThisWeek(state)) { if (!selectWeeklyWatchClaimedThisWeek(state)) {
dispatch(doClaimRewardType(rewards.TYPE_WEEKLY_WATCH, { failSilently: true })); dispatch(doClaimRewardType(rewards.TYPE_WEEKLY_WATCH, { failSilently: true }));
} }