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:
parent
7da4492a1f
commit
d5a3a18722
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue