aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-03-20 17:56:01 +0100
committerlookshe <github@lookshe.org>2016-03-20 17:56:01 +0100
commit9bcacdb8b9eb0321d68e03d088241b722710a465 (patch)
treed4e575caebd174a13cdb8f5b71d76f27a4071503
parentea6564c81a23c10bcdabeba7e29211e97c444d5b (diff)
Show file name instead of mime type (FS#102)
Diffstat (limited to '')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/utils/UIHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/utils/UIHelper.java b/src/main/java/de/thedevstack/conversationsplus/utils/UIHelper.java
index e6a5ef7f..2c43e86f 100644
--- a/src/main/java/de/thedevstack/conversationsplus/utils/UIHelper.java
+++ b/src/main/java/de/thedevstack/conversationsplus/utils/UIHelper.java
@@ -215,7 +215,7 @@ public class UIHelper {
} else if (mime.contains("vcard")) {
return context.getString(R.string.vcard) ;
} else {
- return mime;
+ return message.getRelativeFilePath();
}
}