macos: replace legacy aspectRatio with scaledToFit in clipboard preview

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-08-25 10:10:03 +02:00
parent 8867c37c55
commit a2212a5b12

View File

@@ -71,7 +71,7 @@ struct ClipboardConfirmationView: View {
if let previewImage {
Image(nsImage: previewImage)
.resizable()
.aspectRatio(contentMode: .fit)
.scaledToFit()
.frame(maxWidth: .infinity, maxHeight: .infinity)
.padding(.horizontal)
} else {