1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Using X_DOWNLOADED_FULL flag instead of the X_DOWNLOADED_PARTIAL on to determine if we need to show the downloading icon. Some POP3 messages carry both flags.

This commit is contained in:
Bao-Long Nguyen-Trong 2010-02-07 06:00:28 +00:00
parent 131280c3f2
commit 46bff831d1

View File

@ -1365,7 +1365,7 @@ public class MessageView extends K9Activity
String toText = Address.toFriendly(message.getRecipients(RecipientType.TO));
String ccText = Address.toFriendly(message.getRecipients(RecipientType.CC));
boolean hasAttachments = ((LocalMessage) message).getAttachmentCount() > 0;
boolean isDownloading = message.isSet(Flag.X_DOWNLOADED_PARTIAL);
boolean isDownloading = !message.isSet(Flag.X_DOWNLOADED_FULL);
mHandler.setHeaders(subjectText,
fromText,
dateText,