Move exif info into common "details" view

This commit is contained in:
N-Pex 2025-09-23 12:52:52 +02:00
parent 609e4a97c2
commit 0f7b9ac7ab
12 changed files with 308 additions and 230 deletions

View file

@ -31,11 +31,15 @@ const infoText = computed(() => {
return "<b>This image is generated by AI.</b> Take a closer look at the file details.";
} else if (flags[0].generator === "screenshot") {
return "<b>This is a screenshot.</b> Take a closer look at the file details.";
} else if (flags[0].edits) {
return "<b>This image has been modified.</b> Take a closer look at the file details.";
}
} else if (flags.some((f) => f.generator === "ai")) {
return "<b>Contains AI generated media.</b> Take a closer look at the file details for each.";
} else if (flags.some((f) => f.generator === "screenshot")) {
return "<b>Contains screenshots.</b> Take a closer look at the file details for each.";
} else if (flags.some((f) => f.edits?.length)) {
return "<b>Contains modified media.</b> Take a closer look at the file details for each.";
}
return "TODO - Content Credentials Info";
});