Skip to content

Commit

Permalink
fix: 子孙节点遍历顺序错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Dec 27, 2023
1 parent 6116dd9 commit 032ce0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/kotlin/li/songe/gkd/service/AbExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ val abTransform = Transform(
sequence {
val stack = getChildren(node).toMutableList()
if (stack.isEmpty()) return@sequence
stack.reverse()
val tempNodes = mutableListOf<AccessibilityNodeInfo>()
do {
val top = stack.removeLast()
Expand Down

0 comments on commit 032ce0f

Please sign in to comment.