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:
commit
c737810d4a
1 changed files with 2 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue