1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-17 21:32:26 -05:00

Don't display negative unread count in message list

This commit is contained in:
cketti 2012-12-10 20:06:18 +01:00
parent 7db33ce8c6
commit edd2a44201

View File

@ -586,7 +586,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
}
// set unread count
if (mUnreadMessageCount == 0) {
if (mUnreadMessageCount <= 0) {
mFragmentListener.setUnreadCount(0);
} else {
if (!mSingleFolderMode && mTitle == null) {