macOS: fix swiftlint warnings (#13986)

swiftlint 0.63.3 introduced a new rule called
[`legacy_swiftui_aspect_ratio`](76363aa4d7/CHANGELOG.md (L314))

<img width="509" height="451" alt="image"
src="https://github.com/user-attachments/assets/1ff6f593-ce8a-493e-a241-e9ae418746ee"
/>
This commit is contained in:
Mitchell Hashimoto
2026-08-24 06:57:51 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ struct CyclingIconView: View {
iconImage
.resizable()
.aspectRatio(contentMode: .fit)
.scaledToFit()
}
}

View File

@@ -15,7 +15,7 @@ struct SecureInputOverlay: View {
Image(systemName: "lock.shield.fill")
.resizable()
.aspectRatio(contentMode: .fit)
.scaledToFit()
.frame(width: 25, height: 25)
.foregroundColor(.primary)
.padding(5)