Skip to content

Commit

Permalink
Fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnzlt committed Sep 17, 2015
1 parent dcd2565 commit c90169f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit c90169f

Please sign in to comment.