Skip to content

Commit

Permalink
GAMES_005B addressed changes from review [BV,SM]
Browse files Browse the repository at this point in the history
  • Loading branch information
brovic09 committed Apr 29, 2020
1 parent ef6c0c0 commit e6c0c73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void onClick(View view) {
if(winner != null) {
String text;
ScoreTracker tracker = new ScoreTracker(imageView.getContext());
if(winner.getResId() == R.drawable.x) {
if(winner.equals(logic.getFirst())) {
text = getResources().getString(R.string.you_win);
} else {
text = getResources().getString(R.string.you_lose);
Expand Down

0 comments on commit e6c0c73

Please sign in to comment.