mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Reset dimensions on showing/hiding images
This commit is contained in:
parent
905d56038d
commit
54362d82c4
1 changed files with 4 additions and 5 deletions
|
@ -5007,13 +5007,12 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
else
|
else
|
||||||
message.show_images = value;
|
message.show_images = value;
|
||||||
|
|
||||||
if (full) {
|
|
||||||
properties.setSize(message.id, null);
|
properties.setSize(message.id, null);
|
||||||
properties.setHeight(message.id, null);
|
properties.setHeight(message.id, null);
|
||||||
properties.setPosition(message.id, null);
|
properties.setPosition(message.id, null);
|
||||||
|
|
||||||
|
if (full)
|
||||||
setupTools(message, false, false);
|
setupTools(message, false, false);
|
||||||
}
|
|
||||||
|
|
||||||
bindBody(message, false);
|
bindBody(message, false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue