fixed text preview for images

This commit is contained in:
iNPUTmice 2015-02-01 12:32:19 +01:00
parent f542783761
commit d0e764c1a5
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class UIHelper {
}
} else if (message.getEncryption() == Message.ENCRYPTION_PGP) {
return new Pair<>(context.getString(R.string.encrypted_message_received),true);
} else if (message.getType() == Message.TYPE_FILE) {
} else if (message.getType() == Message.TYPE_FILE || message.getType() == Message.TYPE_IMAGE) {
if (message.getStatus() == Message.STATUS_RECEIVED) {
return new Pair<>(context.getString(R.string.received_x_file,
getFileDescriptionString(context, message)), true);