1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 11:35:11 -05:00

when a message is seen _decrement_ the unread count, don't increment it

This commit is contained in:
Jesse Vincent 2010-11-21 05:31:42 +00:00
parent 14152a8585
commit 5d33bc044b

View File

@ -6295,7 +6295,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) );
} }
} }