mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Fix some SwiftLint warnings.
This commit is contained in:
@@ -79,7 +79,7 @@ struct GalleryItemTileView: View {
|
||||
size: item.size,
|
||||
mediaProvider: mediaProvider) { imageView in
|
||||
imageView
|
||||
.aspectRatio(contentMode: .fill)
|
||||
.scaledToFill()
|
||||
} placeholder: {
|
||||
placeholder
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ private struct GalleryListRow: View {
|
||||
size: item.size,
|
||||
mediaProvider: mediaProvider) { imageView in
|
||||
imageView
|
||||
.aspectRatio(contentMode: .fill)
|
||||
.scaledToFill()
|
||||
} placeholder: {
|
||||
Color.compound.bgSubtleSecondary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user