mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:09:32 +01:00
Rename DonationValues to InAppPaymentValues.
This commit is contained in:
committed by
Cody Henthorne
parent
b943df1ce4
commit
77d3116431
@@ -31,7 +31,7 @@ internal class SubscriberIdMigrationJob(
|
||||
|
||||
override fun performMigration() {
|
||||
Currency.getAvailableCurrencies().forEach { currency ->
|
||||
val subscriber = SignalStore.donations.getSubscriber(currency)
|
||||
val subscriber = SignalStore.inAppPayments.getSubscriber(currency)
|
||||
|
||||
if (subscriber != null) {
|
||||
SignalDatabase.inAppPaymentSubscribers.insertOrReplace(
|
||||
@@ -39,8 +39,8 @@ internal class SubscriberIdMigrationJob(
|
||||
subscriber.subscriberId,
|
||||
subscriber.currency,
|
||||
InAppPaymentSubscriberRecord.Type.DONATION,
|
||||
SignalStore.donations.shouldCancelSubscriptionBeforeNextSubscribeAttempt,
|
||||
SignalStore.donations.getSubscriptionPaymentSourceType().toPaymentMethodType()
|
||||
SignalStore.inAppPayments.shouldCancelSubscriptionBeforeNextSubscribeAttempt,
|
||||
SignalStore.inAppPayments.getSubscriptionPaymentSourceType().toPaymentMethodType()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user