fix GetWindowNodes recusion

This commit is contained in:
Kyle Spearrin 2017-02-18 15:48:24 -05:00
parent 079fb34120
commit 2c73906ad3
1 changed files with 2 additions and 2 deletions

View File

@ -253,9 +253,9 @@ namespace Bit.Android
nodes.Add(n);
}
for(int i = 0; i < n.ChildCount; i++)
for(var i = 0; i < n.ChildCount; i++)
{
nodes.AddRange(GetWindowNodes(n.GetChild(i), e, condition, nodes));
GetWindowNodes(n.GetChild(i), e, condition, nodes);
}
}