mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Make sure to keep font meta info on view recycling
This commit is contained in:
parent
7752f42db6
commit
c473ddc90a
@ -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 New Issue
Block a user