mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-26 00:51:44 +00:00
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:
@@ -39,6 +39,6 @@ struct CyclingIconView: View {
|
||||
|
||||
iconImage
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.scaledToFit()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user