mirror of https://github.com/M66B/FairEmail.git
Small behavior improvement
This commit is contained in:
parent
076b97c955
commit
724bb1af23
|
@ -1043,8 +1043,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
tvNoInternetHeaders.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
grpAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
bnvActions.setVisibility(View.VISIBLE);
|
||||
for (int i = 0; i < bnvActions.getMenu().size(); i++)
|
||||
bnvActions.getMenu().getItem(i).setVisible(false);
|
||||
|
@ -1601,6 +1599,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
attachments = new ArrayList<>();
|
||||
properties.setAttachments(message.id, attachments);
|
||||
|
||||
grpAttachments.setVisibility(attachments.size() > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
boolean iencrypted = properties.getValue("iencrypted", message.id);
|
||||
boolean show_inline = properties.getValue("inline", message.id);
|
||||
Log.i("Show inline=" + show_inline);
|
||||
|
@ -1611,6 +1611,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
boolean save = (attachments.size() > 1);
|
||||
boolean downloading = false;
|
||||
boolean calendar = false;
|
||||
|
||||
List<EntityAttachment> a = new ArrayList<>();
|
||||
for (EntityAttachment attachment : attachments) {
|
||||
boolean inline = (attachment.isInline() && attachment.isImage());
|
||||
|
|
Loading…
Reference in New Issue