diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogDebug.java b/app/src/main/java/eu/faircode/email/FragmentDialogDebug.java index 4fc6717854..924e91a9da 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogDebug.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogDebug.java @@ -109,6 +109,6 @@ public class FragmentDialogDebug extends FragmentDialogBase { private void setEnabled(boolean value) { Button ok = ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE); if (ok != null) - ok.setEnabled(value); + ok.setEnabled(value || BuildConfig.DEBUG); } }