diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/CreateSudokuSpecialButtonLayout.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/CreateSudokuSpecialButtonLayout.java index 2ae3b48..6c21ac8 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/CreateSudokuSpecialButtonLayout.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/CreateSudokuSpecialButtonLayout.java @@ -71,7 +71,6 @@ public class CreateSudokuSpecialButtonLayout extends LinearLayout implements IHi break; case Finalize: FinalizeConfirmationDialog dialog = new FinalizeConfirmationDialog(); - dialog.addListener(finalizeDialogFragmentListener); dialog.show(fragmentManager, "FinalizeDialogFragment"); default: break; @@ -203,10 +202,6 @@ public class CreateSudokuSpecialButtonLayout extends LinearLayout implements IHi } } - public void addListener(IFinalizeDialogFragmentListener listener) { - listeners.add(listener); - } - @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the Builder class for convenient dialog construction