From 1a7e943b75887ee80b623dc90e07b3f7d6c57dab Mon Sep 17 00:00:00 2001 From: Honza Date: Tue, 29 Oct 2024 10:27:58 +0100 Subject: [PATCH] Fix Detekt warning --- .../co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt b/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt index 995b03812..7f9429ef7 100644 --- a/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt +++ b/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt @@ -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()