Display empty preview when we couldn't extract preview text
This commit is contained in:
parent
ac55279b8e
commit
6bfb50859e
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);
|
DatabasePreviewType previewType = DatabasePreviewType.fromDatabaseValue(previewTypeString);
|
||||||
|
|
||||||
switch (previewType) {
|
switch (previewType) {
|
||||||
case NONE: {
|
case NONE:
|
||||||
|
case ERROR: {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ENCRYPTED: {
|
case ENCRYPTED: {
|
||||||
|
|
Loading…
Reference in a new issue