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:
parent
7db33ce8c6
commit
edd2a44201
@ -586,7 +586,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set unread count
|
// set unread count
|
||||||
if (mUnreadMessageCount == 0) {
|
if (mUnreadMessageCount <= 0) {
|
||||||
mFragmentListener.setUnreadCount(0);
|
mFragmentListener.setUnreadCount(0);
|
||||||
} else {
|
} else {
|
||||||
if (!mSingleFolderMode && mTitle == null) {
|
if (!mSingleFolderMode && mTitle == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user