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:
parent
14152a8585
commit
5d33bc044b
@ -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) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user