mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-28 04:02:19 -05:00
fix a deleted message count logic error
This commit is contained in:
parent
4f4fe87d5f
commit
80e4de6db4
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user