mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-23 16:18:50 -05:00
Revert "Potentially avoid creating new Typeface instances"
This reverts commit 9df1a3ee80
.
This commit is contained in:
parent
017ae1d2f3
commit
83bb97b0c5
@ -2072,7 +2072,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
|
||||
}
|
||||
|
||||
if (holder.from != null ) {
|
||||
holder.from.setTypeface(holder.from.getTypeface(), maybeBoldTypeface);
|
||||
holder.from.setTypeface(Typeface.create(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(holder.subject.getTypeface(), maybeBoldTypeface);
|
||||
holder.subject.setTypeface(Typeface.create(holder.subject.getTypeface(), maybeBoldTypeface));
|
||||
holder.subject.setText(subject);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user