Aug 27 - Fixed inspection lost photos recovery

This commit is contained in:
Nguyen Ngo
2026-08-27 10:42:01 -04:00
parent ca7c09f982
commit 308710538b
14 changed files with 794 additions and 114 deletions
@@ -567,7 +567,7 @@ struct IssueDetailView: View {
if !issue.photoLocalPaths.isEmpty {
Section("Photos (\(issue.photoLocalPaths.count))") {
ForEach(issue.photoLocalPaths, id: \.self) { path in
if let img = UIImage(contentsOfFile: path) {
if let live = PhotoStore.resolve(path), let img = UIImage(contentsOfFile: live) {
Image(uiImage: img)
.resizable()
.scaledToFit()