mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -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:
parent
131280c3f2
commit
46bff831d1
@ -1365,7 +1365,7 @@ public class MessageView extends K9Activity
|
|||||||
String toText = Address.toFriendly(message.getRecipients(RecipientType.TO));
|
String toText = Address.toFriendly(message.getRecipients(RecipientType.TO));
|
||||||
String ccText = Address.toFriendly(message.getRecipients(RecipientType.CC));
|
String ccText = Address.toFriendly(message.getRecipients(RecipientType.CC));
|
||||||
boolean hasAttachments = ((LocalMessage) message).getAttachmentCount() > 0;
|
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,
|
mHandler.setHeaders(subjectText,
|
||||||
fromText,
|
fromText,
|
||||||
dateText,
|
dateText,
|
||||||
|
Loading…
Reference in New Issue
Block a user