Fix leaked refreshActiveSubscription disposable.

This commit is contained in:
Sagar 2025-01-05 20:43:17 +05:30 committed by Alex Hart
parent 3e91be66df
commit 652e14b302

View file

@ -180,7 +180,7 @@ class DonateToSignalViewModel(
}
fun refreshActiveSubscription() {
RecurringInAppPaymentRepository
monthlyDonationDisposables += RecurringInAppPaymentRepository
.getActiveSubscription(InAppPaymentSubscriberRecord.Type.DONATION)
.subscribeBy(
onSuccess = {