mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-27 05:03:28 +00:00
Update with newBuilder.
This commit is contained in:
committed by
Cody Henthorne
parent
0efccf67b8
commit
6f52851222
@@ -259,16 +259,11 @@ class InAppPaymentRedemptionJob private constructor(
|
||||
inAppPayment = inAppPayment.copy(
|
||||
notified = !jobData.isFromAuthCheck,
|
||||
state = InAppPaymentTable.State.END,
|
||||
data = inAppPayment.data.copy(
|
||||
waitForAuth = null,
|
||||
stripeActionComplete = null,
|
||||
payPalActionComplete = null,
|
||||
payPalRequiresAction = null,
|
||||
stripeRequiresAction = null,
|
||||
data = inAppPayment.data.newBuilder().redemption(
|
||||
redemption = inAppPayment.data.redemption.copy(
|
||||
stage = InAppPaymentData.RedemptionState.Stage.REDEEMED
|
||||
)
|
||||
)
|
||||
).build()
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user