commit
e1a22ae01e
|
@ -207,6 +207,7 @@ extension MosaicImageViewContainer {
|
||||||
|
|
||||||
func setupImageViews(count: Int, maxSize: CGSize) -> [ConfigurableMosaic] {
|
func setupImageViews(count: Int, maxSize: CGSize) -> [ConfigurableMosaic] {
|
||||||
reset()
|
reset()
|
||||||
|
let count = min(4, max(0, count))
|
||||||
guard count > 1 else {
|
guard count > 1 else {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue