mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
4cf09ad087
commit
8989c530c6
|
@ -1315,10 +1315,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
else {
|
else {
|
||||||
boolean expanded = !properties.getValue("expanded", message.id);
|
boolean expanded = !properties.getValue("expanded", message.id);
|
||||||
properties.setValue("expanded", message.id, expanded);
|
properties.setValue("expanded", message.id, expanded);
|
||||||
if (!expanded) {
|
|
||||||
properties.setValue("quotes", message.id, false);
|
|
||||||
properties.setValue("images", message.id, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
int pos = getAdapterPosition();
|
int pos = getAdapterPosition();
|
||||||
notifyItemChanged(pos);
|
notifyItemChanged(pos);
|
||||||
|
|
Loading…
Reference in New Issue