From 47f8f7f69b639b1a2af9191bcde30fd599184cfe Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Jul 2023 10:57:05 +0200 Subject: [PATCH] Debug enabled --- app/src/main/java/eu/faircode/email/FragmentDialogDebug.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }