mirror of https://github.com/moparisthebest/k-9
Fixed issue with reply icon in subject in message view screen not being set properly when navigating around using up and down arrows
This commit is contained in:
parent
221888c45a
commit
cf143cda86
|
@ -262,13 +262,20 @@ public class MessageView extends K9Activity
|
|||
mSubjectView.setTextColor(0xff000000 | defaultSubjectColor );
|
||||
}
|
||||
if ((msg.arg2 & FLAG_ANSWERED) != 0) {
|
||||
Drawable answeredIcon = getResources().getDrawable(
|
||||
R.drawable.ic_mms_answered_small);
|
||||
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
|
||||
answeredIcon, // left
|
||||
null, // top
|
||||
null, // right
|
||||
null); // bottom
|
||||
Drawable answeredIcon = getResources().getDrawable(
|
||||
R.drawable.ic_mms_answered_small);
|
||||
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
|
||||
answeredIcon, // left
|
||||
null, // top
|
||||
null, // right
|
||||
null); // bottom
|
||||
}
|
||||
else {
|
||||
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, // left
|
||||
null, // top
|
||||
null, // right
|
||||
null); // bottom
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue