Fixed send ... dialog closing

pull/162/head
M66B 5 years ago
parent 10a76722db
commit 03e93ffdc8

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

Loading…
Cancel
Save