Fix SwiftUI build

This commit is contained in:
Carson Katri 2022-07-06 11:37:41 -04:00
parent e6c2410306
commit 3b54539032
1 changed files with 2 additions and 3 deletions

View File

@ -105,7 +105,7 @@ final class FrameTests: XCTestCase {
maxHeight: .infinity,
alignment: .init(horizontal: nativeHorizontal, vertical: nativeVertical)
)
.background(Color(white: 127 / 255), in: Rectangle())
.background(Rectangle().fill(Color(white: 127 / 255)))
} to: {
TokamakStaticHTML.Rectangle()
.fill(Color(white: 0))
@ -118,9 +118,8 @@ final class FrameTests: XCTestCase {
vertical: tokamakVertical
)
)
.background(Color(white: 127 / 255), in: Rectangle())
.background(Rectangle().fill(Color(white: 127 / 255)))
}
return
}
}
}