mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix callbacks for DonationPending and UserLaunchedExternalApplication donation delegate methods.
This commit is contained in:
committed by
Cody Henthorne
parent
7472166628
commit
b681b4169f
@@ -292,13 +292,13 @@ class InAppPaymentCheckoutDelegate(
|
||||
}
|
||||
|
||||
is DonationError.BadgeRedemptionError.DonationPending -> {
|
||||
Log.d(TAG, "User launched an external application.", true)
|
||||
errorHandlerCallback?.onUserLaunchedAnExternalApplication()
|
||||
Log.d(TAG, "Long-running donation is still pending.", true)
|
||||
errorHandlerCallback?.navigateToDonationPending(inAppPayment)
|
||||
}
|
||||
|
||||
is DonationError.UserLaunchedExternalApplication -> {
|
||||
Log.d(TAG, "Long-running donation is still pending.", true)
|
||||
errorHandlerCallback?.navigateToDonationPending(inAppPayment)
|
||||
Log.d(TAG, "User launched an external application.", true)
|
||||
errorHandlerCallback?.onUserLaunchedAnExternalApplication()
|
||||
}
|
||||
|
||||
else -> {
|
||||
|
||||
Reference in New Issue
Block a user