2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Merge pull request from mastodon/fix/issue-255

Fix issue 
This commit is contained in:
CMK 2021-08-05 15:38:23 +08:00 committed by GitHub
commit e1a22ae01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,6 +207,7 @@ extension MosaicImageViewContainer {
func setupImageViews(count: Int, maxSize: CGSize) -> [ConfigurableMosaic] {
reset()
let count = min(4, max(0, count))
guard count > 1 else {
return []
}