From 5ff87d4d9f0e16bb45d5d3e13f782a06fd3661d9 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 21 Apr 2020 13:49:55 +0200 Subject: [PATCH] Fixed disabling send dialog (2) --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 0d13336d33..7599c52fad 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4066,7 +4066,7 @@ public class FragmentCompose extends FragmentBase { if (draft.to == null && draft.cc == null && draft.bcc == null && (identity == null || (identity.cc == null && identity.bcc == null))) - args.putBoolean("remind_to", true); + args.putBoolean("remind_to", true); if (TextUtils.isEmpty(draft.extra) && identity != null && identity.sender_extra) @@ -4915,8 +4915,8 @@ public class FragmentCompose extends FragmentBase { spPriority.setSelection(1); tvSendAt.setText(null); cbNotAgain.setChecked(!send_dialog); - cbNotAgain.setVisibility(dialog || send_dialog ? View.VISIBLE : View.GONE); - tvNotAgain.setVisibility(cbNotAgain.isChecked() && dialog ? View.VISIBLE : View.GONE); + cbNotAgain.setVisibility(send_dialog ? View.VISIBLE : View.GONE); + tvNotAgain.setVisibility(cbNotAgain.isChecked() ? View.VISIBLE : View.GONE); Helper.setViewsEnabled(dview, false);