Issue 481
When in MessageList, Check mail should only sync the displayed folder.
This commit is contained in:
parent
10b9b0a05b
commit
770032d960
1 changed files with 4 additions and 4 deletions
|
@ -911,9 +911,9 @@ public class MessageList extends K9ListActivity {
|
|||
mHandler.dataChanged();
|
||||
}
|
||||
|
||||
private void checkMail(final Account account) {
|
||||
MessagingController.getInstance(getApplication()).checkMail(this, account, true, true, mAdapter.mListener);
|
||||
}
|
||||
// private void checkMail(final Account account) {
|
||||
// MessagingController.getInstance(getApplication()).checkMail(this, account, true, true, mAdapter.mListener);
|
||||
// }
|
||||
|
||||
private void checkMail(Account account, String folderName) {
|
||||
MessagingController.getInstance(getApplication()).synchronizeMailbox( account, folderName, mAdapter.mListener);
|
||||
|
@ -923,7 +923,7 @@ public class MessageList extends K9ListActivity {
|
|||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
case R.id.check_mail:
|
||||
checkMail(mAccount);
|
||||
checkMail(mAccount, mFolderName);
|
||||
return true;
|
||||
|
||||
case R.id.compose:
|
||||
|
|
Loading…
Reference in a new issue