Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
apply codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedictP committed Oct 9, 2023
1 parent 579bb9a commit b303e7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ enum class Attribute {
BOUNDS,
CHECKED,
ENABLED,
CLASS
CLASS,
}

internal class GetHierarchyHelper(private val logger: Logger) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal class InputTextHelper(
-> {
device.findObject(
UiSelector().resourceId(foundUiElement.resourceId)
.instance(uiElementIdentifier.index)
.instance(uiElementIdentifier.index),
).text = text
}

Expand All @@ -58,7 +58,7 @@ internal class InputTextHelper(
is UiElementIdentifier.TextRegex,
-> {
device.findObject(
UiSelector().text(foundUiElement.text).instance(uiElementIdentifier.index)
UiSelector().text(foundUiElement.text).instance(uiElementIdentifier.index),
).text = text
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ internal class ScrollHelper(
config.waitTillHierarchySettlesTimeout,
)
hierarchyAfterScroll = getHierarchyHelper.getHierarchy(device)

} while (hierarchyBeforeScroll == hierarchyAfterScroll &&
(System.currentTimeMillis() - startTime) < 3.seconds.inWholeMilliseconds
)
Expand Down

0 comments on commit b303e7a

Please sign in to comment.