|
|
@ -92,13 +92,15 @@ struct ImageWithPlaceholder: View {
|
|
|
|
VStack {
|
|
|
|
VStack {
|
|
|
|
imageView.resizable().clipShape(RoundedRectangle(cornerRadius: 20))
|
|
|
|
imageView.resizable().clipShape(RoundedRectangle(cornerRadius: 20))
|
|
|
|
HStack {
|
|
|
|
HStack {
|
|
|
|
if let interval = interval {
|
|
|
|
let intervalString = String(format: "Time: %.1fs", interval ?? 0)
|
|
|
|
Text(String(format:"Time: %.1fs", interval))
|
|
|
|
Rectangle().fill(.clear).overlay(Text(intervalString).frame(maxWidth: .infinity, alignment: .leading).padding(.leading))
|
|
|
|
}
|
|
|
|
Rectangle().fill(.clear).overlay(
|
|
|
|
Spacer()
|
|
|
|
HStack {
|
|
|
|
ShareButtons(image: theImage, name: lastPrompt)
|
|
|
|
Spacer()
|
|
|
|
Spacer()
|
|
|
|
ShareButtons(image: theImage, name: lastPrompt).padding(.trailing)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}.frame(maxHeight: 25)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|