1
0
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:
cketti 2015-02-15 17:43:11 +01:00
commit aae71125c6

View File

@ -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(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(holder.subject.getTypeface(), maybeBoldTypeface);
holder.subject.setText(subject); holder.subject.setText(subject);
} }