2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Fix image sizing

This commit is contained in:
Jed Fox 2022-12-20 13:11:42 -05:00
parent 019a9920f0
commit 042c496832
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1

View File

@ -24,6 +24,8 @@ struct MediaAltTextOverlay: View {
Spacer()
Button(action: { showingAlt = false }) {
Image(systemName: "xmark.circle.fill")
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 20, height: 20)
}
}