fix: Xcode dummy refactor rename namespace overflow issue
This commit is contained in:
parent
9251b55106
commit
94d1aae02c
|
@ -287,11 +287,11 @@ struct MosaicImageView_Previews: PreviewProvider {
|
||||||
UIViewPreview(width: 375) {
|
UIViewPreview(width: 375) {
|
||||||
let view = MosaicImageViewContainer()
|
let view = MosaicImageViewContainer()
|
||||||
let image = images[3]
|
let image = images[3]
|
||||||
let artworkImageView = view.setupImageView(
|
let imageView = view.setupImageView(
|
||||||
aspectRatio: image.size,
|
aspectRatio: image.size,
|
||||||
maxSize: CGSize(width: 375, height: 400)
|
maxSize: CGSize(width: 375, height: 400)
|
||||||
)
|
)
|
||||||
artworkImageView.image = image
|
imageView.image = image
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
.previewLayout(.fixed(width: 375, height: 400))
|
.previewLayout(.fixed(width: 375, height: 400))
|
||||||
|
@ -299,14 +299,14 @@ struct MosaicImageView_Previews: PreviewProvider {
|
||||||
UIViewPreview(width: 375) {
|
UIViewPreview(width: 375) {
|
||||||
let view = MosaicImageViewContainer()
|
let view = MosaicImageViewContainer()
|
||||||
let image = images[1]
|
let image = images[1]
|
||||||
let artworkImageView = view.setupImageView(
|
let imageView = view.setupImageView(
|
||||||
aspectRatio: image.size,
|
aspectRatio: image.size,
|
||||||
maxSize: CGSize(width: 375, height: 400)
|
maxSize: CGSize(width: 375, height: 400)
|
||||||
)
|
)
|
||||||
artworkImageView.layer.masksToBounds = true
|
imageView.layer.masksToBounds = true
|
||||||
artworkImageView.layer.cornerRadius = 8
|
imageView.layer.cornerRadius = 8
|
||||||
artworkImageView.contentMode = .scaleAspectFill
|
imageView.contentMode = .scaleAspectFill
|
||||||
artworkImageView.image = image
|
imageView.image = image
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
.previewLayout(.fixed(width: 375, height: 400))
|
.previewLayout(.fixed(width: 375, height: 400))
|
||||||
|
@ -315,8 +315,8 @@ struct MosaicImageView_Previews: PreviewProvider {
|
||||||
let view = MosaicImageViewContainer()
|
let view = MosaicImageViewContainer()
|
||||||
let images = self.images.prefix(2)
|
let images = self.images.prefix(2)
|
||||||
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
||||||
for (i, artworkImageView) in imageViews.enumerated() {
|
for (i, imageView) in imageViews.enumerated() {
|
||||||
artworkImageView.image = images[i]
|
imageView.image = images[i]
|
||||||
}
|
}
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
|
@ -326,8 +326,8 @@ struct MosaicImageView_Previews: PreviewProvider {
|
||||||
let view = MosaicImageViewContainer()
|
let view = MosaicImageViewContainer()
|
||||||
let images = self.images.prefix(3)
|
let images = self.images.prefix(3)
|
||||||
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
||||||
for (i, artworkImageView) in imageViews.enumerated() {
|
for (i, imageView) in imageViews.enumerated() {
|
||||||
artworkImageView.image = images[i]
|
imageView.image = images[i]
|
||||||
}
|
}
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
|
@ -337,8 +337,8 @@ struct MosaicImageView_Previews: PreviewProvider {
|
||||||
let view = MosaicImageViewContainer()
|
let view = MosaicImageViewContainer()
|
||||||
let images = self.images.prefix(4)
|
let images = self.images.prefix(4)
|
||||||
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
let imageViews = view.setupImageViews(count: images.count, maxHeight: 162)
|
||||||
for (i, artworkImageView) in imageViews.enumerated() {
|
for (i, imageView) in imageViews.enumerated() {
|
||||||
artworkImageView.image = images[i]
|
imageView.image = images[i]
|
||||||
}
|
}
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
|
|
|
@ -358,8 +358,8 @@ struct StatusView_Previews: PreviewProvider {
|
||||||
statusView.updateContentWarningDisplay(isHidden: false)
|
statusView.updateContentWarningDisplay(isHidden: false)
|
||||||
let images = MosaicImageView_Previews.images
|
let images = MosaicImageView_Previews.images
|
||||||
let imageViews = statusView.statusMosaicImageView.setupImageViews(count: 4, maxHeight: 162)
|
let imageViews = statusView.statusMosaicImageView.setupImageViews(count: 4, maxHeight: 162)
|
||||||
for (i, artworkImageView) in imageViews.enumerated() {
|
for (i, imageView) in imageViews.enumerated() {
|
||||||
artworkImageView.image = images[i]
|
imageView.image = images[i]
|
||||||
}
|
}
|
||||||
statusView.statusMosaicImageView.isHidden = false
|
statusView.statusMosaicImageView.isHidden = false
|
||||||
return statusView
|
return statusView
|
||||||
|
|
Loading…
Reference in New Issue