Added swipe actions for messages.

- there is a minor layout problem on pre-Lollipop devices
This commit is contained in:
2016-09-21 23:46:57 +02:00
parent d416db1307
commit 1c226a6a5b
21 changed files with 790 additions and 185 deletions

View File

@@ -204,7 +204,7 @@ public class MessageDetailFragment extends Fragment {
}
}
private boolean isInTrash(Plaintext item) {
public static boolean isInTrash(Plaintext item) {
for (Label label : item.getLabels()) {
if (label.getType() == Label.Type.TRASH) {
return true;