1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00
This commit is contained in:
Jesse Vincent 2010-11-13 01:47:08 +00:00
parent a551dc8dff
commit a8de2d0000
6 changed files with 34 additions and 32 deletions

View File

@ -925,7 +925,8 @@ public class MessagingController implements Runnable
{ {
LocalStore localStore = account.getLocalStore(); LocalStore localStore = account.getLocalStore();
LocalFolder localFolder = localStore.getFolder(folder); LocalFolder localFolder = localStore.getFolder(folder);
if (localFolder.getVisibleLimit() > 0 ) { if (localFolder.getVisibleLimit() > 0 )
{
localFolder.setVisibleLimit(localFolder.getVisibleLimit() + account.getDisplayCount()); localFolder.setVisibleLimit(localFolder.getVisibleLimit() + account.getDisplayCount());
} }
synchronizeMailbox(account, folder, listener, null); synchronizeMailbox(account, folder, listener, null);
@ -1125,7 +1126,8 @@ public class MessagingController implements Runnable
{ {
remoteStart = Math.max(0, remoteMessageCount - visibleLimit) + 1; remoteStart = Math.max(0, remoteMessageCount - visibleLimit) + 1;
} }
else { else
{
remoteStart = 1; remoteStart = 1;
} }
int remoteEnd = remoteMessageCount; int remoteEnd = remoteMessageCount;