diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-04-13 21:11:35 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-04-13 21:11:35 +0200 |
commit | 522538e2acbc104346f8669e61cdb35731481837 (patch) | |
tree | 7c4444511f2053b67be58b628ff11f4b88e8ccf8 /src/main/java/de/pixart/messenger/ui/adapter | |
parent | 09d7b611af577fb920f032521cc8f1603cb5ec40 (diff) |
send urls pointing to pgp encrypted files directly in body+oob
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index 3075bcb83..6143f382f 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -199,7 +199,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie filesize = params.size / (1024 * 1024) + " MiB"; } else if (params.size >= (1 * 1024)) { filesize = params.size / 1024 + " KiB"; - } else { + } else if (params.size > 0){ filesize = params.size + " B"; } if (message.getTransferable() != null && message.getTransferable().getStatus() == Transferable.STATUS_FAILED) { |