diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/donate/InAppPaymentCheckoutDelegate.kt b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/donate/InAppPaymentCheckoutDelegate.kt index 65dc89f253..682bf49330 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/donate/InAppPaymentCheckoutDelegate.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/donate/InAppPaymentCheckoutDelegate.kt @@ -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 -> {