mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Fix 3DS waiting-for-auth state when launching external application.
This commit is contained in:
committed by
Cody Henthorne
parent
e6a126d416
commit
4bc6eb96ff
@@ -150,7 +150,7 @@ class DonateToSignalFragment :
|
||||
}
|
||||
|
||||
is DonateToSignalAction.DisplayGatewaySelectorDialog -> {
|
||||
Log.d(TAG, "Presenting gateway selector for ${action.inAppPayment}")
|
||||
Log.d(TAG, "Presenting gateway selector for ${action.inAppPayment.id}")
|
||||
val navAction = DonateToSignalFragmentDirections.actionDonateToSignalFragmentToGatewaySelectorBottomSheetDialog(action.inAppPayment)
|
||||
|
||||
findNavController().safeNavigate(navAction)
|
||||
|
||||
@@ -218,6 +218,7 @@ class StripePaymentInProgressViewModel(
|
||||
.handle(
|
||||
action = action,
|
||||
inAppPayment = inAppPayment.copy(
|
||||
state = InAppPaymentTable.State.WAITING_FOR_AUTHORIZATION,
|
||||
data = inAppPayment.data.copy(
|
||||
redemption = null,
|
||||
waitForAuth = InAppPaymentData.WaitingForAuthorizationState(
|
||||
|
||||
Reference in New Issue
Block a user