mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +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 -> {
|
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)
|
val navAction = DonateToSignalFragmentDirections.actionDonateToSignalFragmentToGatewaySelectorBottomSheetDialog(action.inAppPayment)
|
||||||
|
|
||||||
findNavController().safeNavigate(navAction)
|
findNavController().safeNavigate(navAction)
|
||||||
|
|||||||
@@ -218,6 +218,7 @@ class StripePaymentInProgressViewModel(
|
|||||||
.handle(
|
.handle(
|
||||||
action = action,
|
action = action,
|
||||||
inAppPayment = inAppPayment.copy(
|
inAppPayment = inAppPayment.copy(
|
||||||
|
state = InAppPaymentTable.State.WAITING_FOR_AUTHORIZATION,
|
||||||
data = inAppPayment.data.copy(
|
data = inAppPayment.data.copy(
|
||||||
redemption = null,
|
redemption = null,
|
||||||
waitForAuth = InAppPaymentData.WaitingForAuthorizationState(
|
waitForAuth = InAppPaymentData.WaitingForAuthorizationState(
|
||||||
|
|||||||
Reference in New Issue
Block a user