Revert "Fixed send ... dialog closing"

This reverts commit 03e93ffdc8.
pull/162/head
M66B 5 years ago
parent 28ab1b326a
commit ad9696a329

@ -3657,8 +3657,10 @@ public class FragmentCompose extends FragmentBase {
db.message().liveMessage(id).observe(getViewLifecycleOwner(), new Observer<TupleMessageEx>() { db.message().liveMessage(id).observe(getViewLifecycleOwner(), new Observer<TupleMessageEx>() {
@Override @Override
public void onChanged(TupleMessageEx draft) { public void onChanged(TupleMessageEx draft) {
if (draft == null) if (draft == null) {
dismiss();
return; return;
}
int plus = (draft.cc == null ? 0 : draft.cc.length) + int plus = (draft.cc == null ? 0 : draft.cc.length) +
(draft.bcc == null ? 0 : draft.bcc.length); (draft.bcc == null ? 0 : draft.bcc.length);

Loading…
Cancel
Save