mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -05:00
replace a trivial one-line method that was called twice with its body
This commit is contained in:
parent
f874f0f9d3
commit
24b018a812
@ -1532,11 +1532,6 @@ public class MessageList
|
||||
private void checkMail(Account account, String folderName)
|
||||
{
|
||||
mController.synchronizeMailbox(account, folderName, mAdapter.mListener, null);
|
||||
sendMail(account);
|
||||
}
|
||||
|
||||
private void sendMail(Account account)
|
||||
{
|
||||
mController.sendPendingMessages(account, mAdapter.mListener);
|
||||
}
|
||||
|
||||
@ -1650,7 +1645,7 @@ public class MessageList
|
||||
}
|
||||
case R.id.send_messages:
|
||||
{
|
||||
sendMail(mAccount);
|
||||
mController.sendPendingMessages(mAccount, mAdapter.mListener);
|
||||
return true;
|
||||
}
|
||||
case R.id.list_folders:
|
||||
|
Loading…
Reference in New Issue
Block a user