forked from mirror/monocles_chat
Show correct icon for attached WebXDC
This commit is contained in:
parent
4e1929d748
commit
c08161c190
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ public class MediaAdapter extends RecyclerView.Adapter<MediaAdapter.MediaViewHol
|
|||
attr = R.attr.media_preview_archive;
|
||||
} else if (mime.equals("application/epub+zip") || mime.equals("application/vnd.amazon.mobi8-ebook")) {
|
||||
attr = R.attr.media_preview_ebook;
|
||||
} else if (mime.equals("application/xdc+zip")) {
|
||||
attr = R.attr.icon_webxdcs;
|
||||
} else if (mime.equals(ExportBackupService.MIME_TYPE)) {
|
||||
attr = R.attr.media_preview_backup;
|
||||
} else if (DOCUMENT_MIMES.contains(mime)) {
|
||||
|
|
Loading…
Reference in a new issue