Show image name for posts
This commit is contained in:
parent
864dc9a544
commit
e69486895f
@ -20,12 +20,16 @@ struct PostImagesView: View {
|
||||
.cornerRadius(8)
|
||||
.layoutPriority(1)
|
||||
VStack {
|
||||
HStack {
|
||||
HStack(alignment: .top) {
|
||||
Button(action: { remove(image) }) {
|
||||
NavigationIcon(symbol: .trash, edge: .all)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
Spacer()
|
||||
Text(image.id)
|
||||
.padding(4)
|
||||
.foregroundStyle(Color.white.opacity(0.8))
|
||||
.background(RoundedRectangle(cornerRadius: 8).fill(Color.black.opacity(0.7)))
|
||||
}
|
||||
Spacer()
|
||||
HStack {
|
||||
|
Loading…
x
Reference in New Issue
Block a user