diff --git a/app/src/main/java/com/gunshippenguin/openflood/EndGameDialogFragment.java b/app/src/main/java/com/gunshippenguin/openflood/EndGameDialogFragment.java index 96d2694..14af364 100644 --- a/app/src/main/java/com/gunshippenguin/openflood/EndGameDialogFragment.java +++ b/app/src/main/java/com/gunshippenguin/openflood/EndGameDialogFragment.java @@ -105,11 +105,7 @@ public void onClick(View v) { } }); - // Show the replay butotn if the game has been lost Button replayButton = (Button) layout.findViewById(R.id.replayButton); - if (gameWon) { - replayButton.setVisibility(View.GONE); - } else { replayButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { @@ -117,7 +113,6 @@ public void onClick(View v) { dismiss(); } }); - } // Set up the new game button callback Button newGameButton = (Button) layout.findViewById(R.id.newGameButton);