Skip to content

Commit

Permalink
Fix Detekt warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HonzaR committed Oct 29, 2024
1 parent d9dc78d commit 1a7e943
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ class ScreenshotTest : UiTestPrerequisites() {
}

// To ensure that the new screen is available, or wait until it is
composeTestRule.waitUntilAtLeastOneExists(hasText(resContext.getString(R.string.restore_title)), DEFAULT_TIMEOUT_MILLISECONDS)
composeTestRule.waitUntilAtLeastOneExists(
hasText(resContext.getString(R.string.restore_title)),
DEFAULT_TIMEOUT_MILLISECONDS
)

composeTestRule.onNodeWithText(resContext.getString(R.string.restore_title)).also {
it.assertExists()
Expand Down

0 comments on commit 1a7e943

Please sign in to comment.