|
|
@ -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);
|
|
|
|