mirror of https://github.com/M66B/FairEmail.git
Attempt to workaround ConstraintLayout issue
Refs androidx/constraintlayout#430
This commit is contained in:
parent
7aeb2d31ca
commit
0098fdc2f1
|
@ -1589,8 +1589,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
ConstraintLayout cl = (ConstraintLayout) flow.getParent();
|
ConstraintLayout cl = (ConstraintLayout) flow.getParent();
|
||||||
for (int id : flow.getReferencedIds()) {
|
for (int id : flow.getReferencedIds()) {
|
||||||
View v = cl.findViewById(id);
|
View v = cl.findViewById(id);
|
||||||
flow.removeView(v);
|
// flow.removeView(v);
|
||||||
cl.removeView(v);
|
// cl.removeView(v);
|
||||||
|
// https://github.com/androidx/constraintlayout/issues/430
|
||||||
|
v.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue