Skip to content

Commit be48c04

Browse files
authored
Facepalm: correctly get campaign id from Activity's intent. (#4993)
1 parent 7878170 commit be48c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/extra/java/org/wikipedia/donate/GooglePayActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ class GooglePayActivity : BaseActivity() {
271271
if (requestCode == LOAD_PAYMENT_DATA_REQUEST_CODE) {
272272
when (resultCode) {
273273
Activity.RESULT_OK -> {
274-
data?.let { intent ->
275-
PaymentData.getFromIntent(intent)?.let { paymentData ->
274+
data?.let { dataIntent ->
275+
PaymentData.getFromIntent(dataIntent)?.let { paymentData ->
276276
viewModel.submit(paymentData,
277277
binding.checkBoxTransactionFee.isChecked,
278278
binding.checkBoxRecurring.isChecked,

0 commit comments

Comments
 (0)