Merge pull request #1846 from k9mail/GH-1845_fix_crash_on_preview_error

Display empty preview when we couldn't extract preview text
This commit is contained in:
cketti 2016-12-10 00:19:20 +01:00 committed by GitHub
commit c737810d4a

View file

@ -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: {