aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-25 21:41:28 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-25 21:41:28 +0100
commit2bca57e773d773c56bd9788be12759ad4976815a (patch)
tree78b9d51cdea8d9cb071e7de69e544e246ded1656 /src/main/java/de/pixart/messenger/utils
parent3ca7e0c55a99e098c6035929b889829be3b352ef (diff)
fix display of deleted files
Diffstat (limited to 'src/main/java/de/pixart/messenger/utils')
-rw-r--r--src/main/java/de/pixart/messenger/utils/UIHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/UIHelper.java b/src/main/java/de/pixart/messenger/utils/UIHelper.java
index 6ac5ae39d..d7a3ca2e0 100644
--- a/src/main/java/de/pixart/messenger/utils/UIHelper.java
+++ b/src/main/java/de/pixart/messenger/utils/UIHelper.java
@@ -276,7 +276,7 @@ public class UIHelper {
default:
return new Pair<>("", false);
}
- } else if (message.isFileOrImage() && message.isDeleted()) {
+ } else if (message.isFileOrImage() && message.isFileDeleted()) {
return new Pair<>(context.getString(R.string.file_deleted), true);
} else if (message.getEncryption() == Message.ENCRYPTION_PGP) {
return new Pair<>(context.getString(R.string.pgp_message), true);