diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-01-25 21:41:28 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-01-25 21:41:28 +0100 |
commit | 2bca57e773d773c56bd9788be12759ad4976815a (patch) | |
tree | 78b9d51cdea8d9cb071e7de69e544e246ded1656 /src/main/java/de/pixart/messenger/utils | |
parent | 3ca7e0c55a99e098c6035929b889829be3b352ef (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.java | 2 |
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); |