use GIF to describe gifs instead of image
This commit is contained in:
parent
3d243866a4
commit
120f7453e5
|
@ -435,11 +435,13 @@ public class UIHelper {
|
|||
return context.getString(R.string.audio);
|
||||
} else if (mime.startsWith("video/")) {
|
||||
return context.getString(R.string.video);
|
||||
} else if (mime.equals("image/gif")) {
|
||||
return context.getString(R.string.gif);
|
||||
} else if (mime.startsWith("image/")) {
|
||||
return context.getString(R.string.image);
|
||||
} else if (mime.contains("pdf")) {
|
||||
return context.getString(R.string.pdf_document);
|
||||
} else if (mime.contains("application/vnd.android.package-archive")) {
|
||||
} else if (mime.equals("application/vnd.android.package-archive")) {
|
||||
return context.getString(R.string.apk);
|
||||
} else if (mime.contains("vcard")) {
|
||||
return context.getString(R.string.vcard);
|
||||
|
|
|
@ -704,4 +704,5 @@
|
|||
<string name="please_wait">Please wait…</string>
|
||||
<string name="no_microphone_permission">Conversations needs access to the microphone</string>
|
||||
<string name="search_messages">Search messages</string>
|
||||
<string name="gif">GIF</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue