From 136f0dcd25ef771725b907da0344d7f848c8ad3b Mon Sep 17 00:00:00 2001 From: pe_pan Date: Fri, 2 Dec 2016 21:47:29 +0100 Subject: [PATCH] REQ: removing cheating ON/OFF from Options --- mobile/src/main/java/com/mz800/flappy/OptionsActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mobile/src/main/java/com/mz800/flappy/OptionsActivity.java b/mobile/src/main/java/com/mz800/flappy/OptionsActivity.java index 3744255..7dc84ca 100644 --- a/mobile/src/main/java/com/mz800/flappy/OptionsActivity.java +++ b/mobile/src/main/java/com/mz800/flappy/OptionsActivity.java @@ -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();