1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Remove more redundant checks

This commit is contained in:
Jesse Vincent 2011-02-13 18:58:10 -05:00
parent be106c21a1
commit 4e48366243

View File

@ -1110,9 +1110,6 @@ public class MessageList
}
private void onArchive(MessageInfoHolder holder) {
if (!mController.isMoveCapable(holder.message.getFolder().getAccount())) {
return;
}
if (!mController.isMoveCapable(holder.message)) {
Toast toast = Toast.makeText(this, R.string.move_copy_cannot_copy_unsynced_message, Toast.LENGTH_LONG);
@ -1124,9 +1121,6 @@ public class MessageList
}
private void onSpam(MessageInfoHolder holder) {
if (!mController.isMoveCapable(holder.message.getFolder().getAccount())) {
return;
}
if (!mController.isMoveCapable(holder.message)) {
Toast toast = Toast.makeText(this, R.string.move_copy_cannot_copy_unsynced_message, Toast.LENGTH_LONG);