Skip to content

Commit

Permalink
Update ElementModifier+Scroll.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Jul 6, 2024
1 parent 110baa8 commit a3d52bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ extension ElementModifier {
while !ElementAsserter.isVisibleInWindow(element: element) { // While the element is not visible
// Swipe up or down depending on the direction
if dir == .up {
element.swipeUp()
parent.swipeUp()
} else {
element.swipeDown()
parent.swipeDown()
}
}
}
Expand Down

0 comments on commit a3d52bf

Please sign in to comment.