Skip to content

Commit

Permalink
Use setHidden(false)
Browse files Browse the repository at this point in the history
Otherwise it crashes in CI.
  • Loading branch information
squarejesse committed Nov 20, 2024
1 parent 2069a65 commit 911138f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class RedwoodUIViewTest {
val window = UIWindow(
CGRectMake(0.0, 0.0, 390.0, 844.0), // iPhone 14.
)
window.makeKeyAndVisible()
window.setHidden(false) // Necessary to propagate additionalSafeAreaInsets.
window.rootViewController = viewController

assertThat(redwoodUIView.uiConfiguration.value.viewInsets)
Expand Down

0 comments on commit 911138f

Please sign in to comment.