Fix some SwiftLint warnings.

This commit is contained in:
Doug
2026-09-10 17:18:45 +01:00
committed by Stefan Ceriu
parent 268ed62af9
commit 5d050f6dfc
12 changed files with 13 additions and 25 deletions
@@ -423,7 +423,7 @@ struct LoadableImage_Previews: PreviewProvider, TestablePreview {
private extension View {
func layout(title: String, hideTimelineMedia: Bool = false) -> some View {
aspectRatio(contentMode: .fit)
scaledToFit()
.clipShape(RoundedRectangle(cornerRadius: 20))
.overlay(alignment: .bottom) {
Text(title)