We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa649f commit b84eb10Copy full SHA for b84eb10
app/src/main/java/com/bignerdranch/android/geoquiz/QuizActivity.java
@@ -40,7 +40,7 @@ private void updateQuestion() {
40
private void checkAnswer(boolean userPressedTrue) {
41
boolean answerIsTrue = mQuestionBank[mCurrentIndex].isAnswerTrue();
42
43
- int messageResId = 0;
+ int messageResId;
44
45
if (userPressedTrue == answerIsTrue) {
46
messageResId = R.string.correct_toast;
0 commit comments