1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Fix for my comment on r581

This commit is contained in:
Daniel Applebaum 2009-06-09 02:10:49 +00:00
parent b7a846492a
commit 8e52a4efed

View File

@ -1371,7 +1371,7 @@ public class MessageList extends K9ListActivity {
holder.chip.getBackground().setAlpha(message.read ? 0 : 255);
holder.subject.setTypeface(null, message.read && !message.flagged ? Typeface.NORMAL : Typeface.BOLD);
int subjectColor =holder.subject.getCurrentTextColor();
int subjectColor = holder.from.getCurrentTextColor(); // Get from another field that never changes color
if (message.flagged) {
subjectColor = Email.FLAGGED_COLOR;
@ -1384,7 +1384,7 @@ public class MessageList extends K9ListActivity {
view.getBackground().setAlpha(127);
}
holder.subject.setTextColor( subjectColor);
holder.subject.setTextColor( 0xff000000 | subjectColor);
holder.subject.setText(message.subject);
holder.from.setText(message.sender);