Fixed disabling send dialog

pull/178/head
M66B 5 years ago
parent a4636b2d4d
commit d912742240

@ -4915,7 +4915,7 @@ public class FragmentCompose extends FragmentBase {
spPriority.setSelection(1);
tvSendAt.setText(null);
cbNotAgain.setChecked(!send_dialog);
cbNotAgain.setVisibility(dialog ? View.VISIBLE : View.GONE);
cbNotAgain.setVisibility(dialog || send_dialog ? View.VISIBLE : View.GONE);
tvNotAgain.setVisibility(cbNotAgain.isChecked() && dialog ? View.VISIBLE : View.GONE);
Helper.setViewsEnabled(dview, false);

Loading…
Cancel
Save