mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
abbd596a6e
commit
54df950f90
|
@ -873,7 +873,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (avatars) {
|
||||
int px = Math.round(fz_sender + fz_subject + (compact ? 0 : textSize * 0.9f));
|
||||
ViewGroup.LayoutParams lparams = ibAvatar.getLayoutParams();
|
||||
if (lparams.height != px) {
|
||||
if (lparams.width != px || lparams.height != px) {
|
||||
lparams.width = px;
|
||||
lparams.height = px;
|
||||
ibAvatar.requestLayout();
|
||||
|
|
Loading…
Reference in New Issue