mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Merge pull request #523
Make sure to keep font meta info on view recycling
This commit is contained in:
commit
aae71125c6
@ -2072,7 +2072,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
|
||||
}
|
||||
|
||||
if (holder.from != null ) {
|
||||
holder.from.setTypeface(null, maybeBoldTypeface);
|
||||
holder.from.setTypeface(holder.from.getTypeface(), maybeBoldTypeface);
|
||||
if (mSenderAboveSubject) {
|
||||
holder.from.setCompoundDrawablesWithIntrinsicBounds(
|
||||
statusHolder, // left
|
||||
@ -2095,7 +2095,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
|
||||
null); // bottom
|
||||
}
|
||||
|
||||
holder.subject.setTypeface(null, maybeBoldTypeface);
|
||||
holder.subject.setTypeface(holder.subject.getTypeface(), maybeBoldTypeface);
|
||||
holder.subject.setText(subject);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user