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:
parent
be106c21a1
commit
4e48366243
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user