Only do local donation cancel if it's currently active.
This commit is contained in:
parent
58b6e49aae
commit
6b5de6e3e5
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ public final class StorageSyncHelper {
|
|||
InAppPaymentsRepository.setSubscriber(remoteSubscriber);
|
||||
}
|
||||
|
||||
if (update.getNew().isSubscriptionManuallyCancelled()) {
|
||||
if (update.getNew().isSubscriptionManuallyCancelled() && !update.getOld().isSubscriptionManuallyCancelled()) {
|
||||
SignalStore.donationsValues().updateLocalStateForManualCancellation(InAppPaymentSubscriberRecord.Type.DONATION);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue