mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix some SwiftLint warnings.
This commit is contained in:
@@ -266,11 +266,11 @@ struct TimelineReplyView: View {
|
||||
CompoundIcon(\.image)
|
||||
.padding(4.0)
|
||||
}
|
||||
.aspectRatio(contentMode: .fill)
|
||||
.scaledToFill()
|
||||
case .iconAsset(let asset):
|
||||
Image(asset: asset)
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.scaledToFit()
|
||||
.padding(8.0)
|
||||
case .icon(let keyPath):
|
||||
CompoundIcon(keyPath, size: .medium, relativeTo: .body)
|
||||
|
||||
Reference in New Issue
Block a user