1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Use grey background for read messages in the message list

This commit is contained in:
cketti 2012-08-15 04:14:12 +02:00
parent 2e454f0af7
commit 66911a0624
3 changed files with 2 additions and 6 deletions

View File

@ -17,8 +17,6 @@ public class MessageInfoHolder {
public boolean read;
public boolean answered;
public boolean flagged;
public boolean downloaded;
public boolean partially_downloaded;
public boolean dirty;
public LocalMessage message;
public FolderInfoHolder folder;

View File

@ -2359,8 +2359,8 @@ public class MessageList
holder.chip.setBackgroundDrawable(message.message.getFolder().getAccount().generateColorChip().drawable());
holder.chip.getBackground().setAlpha(message.read ? 127 : 255);
view.getBackground().setAlpha(message.downloaded ? 0 : 127);
view.getBackground().setAlpha(message.read ? 100 : 0);
if ((message.message.getSubject() == null) || message.message.getSubject().equals("")) {
holder.subject.setText(getText(R.string.general_no_subject));

View File

@ -60,8 +60,6 @@ public class MessageHelper {
target.read = message.isSet(Flag.SEEN);
target.answered = message.isSet(Flag.ANSWERED);
target.flagged = message.isSet(Flag.FLAGGED);
target.downloaded = message.isSet(Flag.X_DOWNLOADED_FULL);
target.partially_downloaded = message.isSet(Flag.X_DOWNLOADED_PARTIAL);
Address[] addrs = message.getFrom();