Skip to content

Commit

Permalink
swiftformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Jarvis committed Nov 8, 2024
1 parent 6ad0766 commit 5bef707
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Example/ExampleUITests/ExampleUITestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ class ExampleUITestCase: XCUITestCase {
#if os(iOS)
// iPad has a bug where view is blank when starting in portrait
// Let's rotate it landscape and back to work around that bug.
Task { @MainActor in
XCUIDevice.shared.orientation = .portrait
XCUIDevice.shared.orientation = .landscapeRight
XCUIDevice.shared.orientation = .portrait
}
Task { @MainActor in
XCUIDevice.shared.orientation = .portrait
XCUIDevice.shared.orientation = .landscapeRight
XCUIDevice.shared.orientation = .portrait
}
#endif
}

Expand Down

0 comments on commit 5bef707

Please sign in to comment.