Small improvement

This commit is contained in:
M66B 2018-12-28 08:11:40 +00:00
parent 727682d675
commit d034dc93e8
1 changed files with 3 additions and 2 deletions

View File

@ -306,7 +306,7 @@ public class FragmentCompose extends FragmentEx {
setSubtitle(R.string.title_compose);
tvExtraPrefix.setText(null);
tvExtraSuffix.setText(null);
etBody.setText(null);
etBody.setVisibility(View.GONE);
grpHeader.setVisibility(View.GONE);
grpExtra.setVisibility(View.GONE);
@ -1421,7 +1421,7 @@ public class FragmentCompose extends FragmentEx {
getActivity().invalidateOptionsMenu();
final DB db = DB.getInstance(getContext());
DB db = DB.getInstance(getContext());
db.identity().liveIdentities().observe(getViewLifecycleOwner(), new Observer<List<TupleIdentityEx>>() {
@Override
@ -1529,6 +1529,7 @@ public class FragmentCompose extends FragmentEx {
protected void onLoaded(Bundle args, Spanned[] texts) {
etBody.setText(texts[0]);
etBody.setSelection(0);
etBody.setVisibility(View.VISIBLE);
tvReference.setText(texts[1]);
state = State.LOADED;