macOS: fix swiftlint warnings

swiftlint 0.63.3 introduced a new rule called [`legacy_swiftui_aspect_ratio`](76363aa4d7/CHANGELOG.md (L314))
This commit is contained in:
Lukas
2026-08-24 11:34:38 +02:00
parent 6a508fd5e3
commit 6cf7e0cc54
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)