1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 09:17:58 +00:00

Fixed loading inline images drafts

This commit is contained in:
M66B 2019-11-19 09:18:46 +01:00
parent 7da4492a1f
commit d5a3a18722

View file

@ -536,6 +536,7 @@ public class FragmentCompose extends FragmentBase {
etExtra.setHint("");
tvDomain.setText(null);
etBody.setText(null);
grpHeader.setVisibility(View.GONE);
grpExtra.setVisibility(View.GONE);
@ -3275,6 +3276,12 @@ public class FragmentCompose extends FragmentBase {
args.putBoolean("show_images", show_images);
new SimpleTask<Spanned[]>() {
@Override
protected void onPreExecute(Bundle args) {
// Needed to get width for images
grpBody.setVisibility(View.VISIBLE);
}
@Override
protected void onPostExecute(Bundle args) {
state = State.LOADED;