mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
27d27b892a
commit
5b31137db1
@ -112,7 +112,7 @@ public class PackageDocumentReader extends PackageDocumentBase {
|
|||||||
//确保该图片信息 resource 在原 originItemHrefSet 集合中没有出现过
|
//确保该图片信息 resource 在原 originItemHrefSet 集合中没有出现过
|
||||||
if (!originItemHrefSet.contains(imageHref)) {
|
if (!originItemHrefSet.contains(imageHref)) {
|
||||||
Element tempElement = packageDocument.createElement("item");
|
Element tempElement = packageDocument.createElement("item");
|
||||||
tempElement.setAttribute("id", imageHref.replace("/", ""));
|
tempElement.setAttribute("id", resource.getId());
|
||||||
tempElement.setAttribute("href", imageHref);
|
tempElement.setAttribute("href", imageHref);
|
||||||
tempElement.setAttribute("media-type", currentMediaType.getName());
|
tempElement.setAttribute("media-type", currentMediaType.getName());
|
||||||
fixedElements.add(tempElement);
|
fixedElements.add(tempElement);
|
||||||
|
Loading…
Reference in New Issue
Block a user