Fix swiftwasm build
This commit is contained in:
parent
3478c9df19
commit
3731fb0bac
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue