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

fix a deleted message count logic error

This commit is contained in:
Jesse Vincent 2010-11-15 01:31:20 +00:00
parent 4f4fe87d5f
commit 80e4de6db4

View File

@ -6279,7 +6279,7 @@ public class LocalStore extends Store implements Serializable, LocalStoreMigrati
{ {
if (set != isSet(Flag.SEEN)) if (set != isSet(Flag.SEEN))
{ {
folder.setUnreadMessageCount(folder.getUnreadMessageCount() + ( set ? 1: -1) ); folder.setUnreadMessageCount(folder.getUnreadMessageCount() + ( set ? -1:1) );
} }
if (isSet(Flag.FLAGGED)) if (isSet(Flag.FLAGGED))
{ {