mirror of https://github.com/M66B/FairEmail.git
Messages in conversations should always be expandable
This commit is contained in:
parent
e56673332e
commit
119df372d6
|
@ -429,7 +429,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
}
|
}
|
||||||
|
|
||||||
private void wire() {
|
private void wire() {
|
||||||
final View touch = (viewType == ViewType.THREAD && threading ? ivExpander : vwColor);
|
final View touch = (viewType == ViewType.THREAD ? ivExpander : vwColor);
|
||||||
touch.setOnClickListener(this);
|
touch.setOnClickListener(this);
|
||||||
view.post(new Runnable() {
|
view.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -614,7 +614,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
// Expander
|
// Expander
|
||||||
boolean expanded = (viewType == ViewType.THREAD && properties.getValue("expanded", message.id));
|
boolean expanded = (viewType == ViewType.THREAD && properties.getValue("expanded", message.id));
|
||||||
ivExpander.setImageLevel(expanded ? 0 /* less */ : 1 /* more */);
|
ivExpander.setImageLevel(expanded ? 0 /* less */ : 1 /* more */);
|
||||||
if (viewType == ViewType.THREAD && threading)
|
if (viewType == ViewType.THREAD)
|
||||||
ivExpander.setVisibility(EntityFolder.DRAFTS.equals(message.folderType) ? View.INVISIBLE : View.VISIBLE);
|
ivExpander.setVisibility(EntityFolder.DRAFTS.equals(message.folderType) ? View.INVISIBLE : View.VISIBLE);
|
||||||
else
|
else
|
||||||
ivExpander.setVisibility(View.GONE);
|
ivExpander.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue