Skip to content

Commit

Permalink
REQ: removing cheating ON/OFF from Options
Browse files Browse the repository at this point in the history
  • Loading branch information
pe-pan committed Dec 2, 2016
1 parent 26f676f commit 136f0dc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mobile/src/main/java/com/mz800/flappy/OptionsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ public void saveOptions(View view) {
if (newPlayerName.length() > MAX_PLAYER_NAME_LEN) newPlayerName = newPlayerName.substring(0, MAX_PLAYER_NAME_LEN);
if (!newPlayerName.equals(oldPlayerName)) {
storePlayerName(newPlayerName);
//todo remove the code below from the production!
Main.cheating = !Main.cheating;
Toast.makeText(this, "Cheating " + (Main.cheating ? "ON" : "OFF"), Toast.LENGTH_LONG).show();
//todo remove the code above from the production!
}

String password = passwordView.getText().toString();
Expand Down

0 comments on commit 136f0dc

Please sign in to comment.