Fix swiftwasm build

This commit is contained in:
Carson Katri 2023-02-04 17:21:30 -05:00
parent 3478c9df19
commit 3731fb0bac
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public extension _LazyGridLayout {
maxMainAxisSize = size[keyPath: mainAxis]
}
if subviews.indices.contains(index + cache.resolvedItems.count) {
if let spacing {
if let spacing = spacing {
mainAxisSpacing = spacing
} else {
let spacing = subview.spacing.distance(