From 6bfb50859e143a5df87ca2dae69f9c4509944470 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 9 Dec 2016 22:08:10 +0100 Subject: [PATCH] Display empty preview when we couldn't extract preview text --- .../main/java/com/fsck/k9/fragment/MessageListFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java index d2340b871..6f97dbca8 100644 --- a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java +++ b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java @@ -1954,7 +1954,8 @@ public class MessageListFragment extends Fragment implements OnItemClickListener DatabasePreviewType previewType = DatabasePreviewType.fromDatabaseValue(previewTypeString); switch (previewType) { - case NONE: { + case NONE: + case ERROR: { return ""; } case ENCRYPTED: {