Debug enabled

pull/213/head
M66B 2 years ago
parent ea500bbaa9
commit 47f8f7f69b

@ -109,6 +109,6 @@ public class FragmentDialogDebug extends FragmentDialogBase {
private void setEnabled(boolean value) { private void setEnabled(boolean value) {
Button ok = ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE); Button ok = ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE);
if (ok != null) if (ok != null)
ok.setEnabled(value); ok.setEnabled(value || BuildConfig.DEBUG);
} }
} }

Loading…
Cancel
Save