Make sure to keep font meta info on view recycling
This commit is contained in:
parent
7752f42db6
commit
c473ddc90a
1 changed files with 2 additions and 2 deletions
|
@ -2072,7 +2072,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
|
||||||
}
|
}
|
||||||
|
|
||||||
if (holder.from != null ) {
|
if (holder.from != null ) {
|
||||||
holder.from.setTypeface(null, maybeBoldTypeface);
|
holder.from.setTypeface(Typeface.create(holder.from.getTypeface(), maybeBoldTypeface));
|
||||||
if (mSenderAboveSubject) {
|
if (mSenderAboveSubject) {
|
||||||
holder.from.setCompoundDrawablesWithIntrinsicBounds(
|
holder.from.setCompoundDrawablesWithIntrinsicBounds(
|
||||||
statusHolder, // left
|
statusHolder, // left
|
||||||
|
@ -2095,7 +2095,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
|
||||||
null); // bottom
|
null); // bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
holder.subject.setTypeface(null, maybeBoldTypeface);
|
holder.subject.setTypeface(Typeface.create(holder.subject.getTypeface(), maybeBoldTypeface));
|
||||||
holder.subject.setText(subject);
|
holder.subject.setText(subject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue