@@ -2066,7 +2066,7 @@ public class FileBackend {
} else if (audio) {
fileParams.runtime = getMediaRuntime(file);
}
- if ("application/xdc+zip".equals(mime)) {
+ if ("application/webxdc+zip".equals(mime)) {
try {
final var zip = new ZipFile(file);
final ZipEntry manifestEntry = zip == null ? null : zip.getEntry("manifest.toml");
@@ -450,7 +450,7 @@ public class UIHelper {
return context.getString(R.string.ebook);
} else if (mime.equals("application/gpx+xml")) {
return context.getString(R.string.gpx_track);
- } else if (mime.equals("application/xdc+zip")) {
+ } else if (mime.equals("application/webxdc+zip")) {
final var name = message.getFileParams().getName();
if (name != null && name.length() < 20) {
return name;