diff --git a/README.md b/README.md index 6f9d7cf..6eade5d 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,8 @@ Next, we'll override `onActivityResult()` to get the request result. if (requestCode == QR_REQUEST) { if (resultCode == RESULT_OK) { - String qrData = data.getStringExtra(QRActivity.EXTRA_QR_RESULT); - // do something with the QR data String + String qrData = data.getStringExtra(QRActivity.EXTRA_QR_RESULT); + // do something with the QR data String } else { mResultTextView.setText("Error"); }