1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-15 02:08:00 +02:00

fix GetWindowNodes recusion

This commit is contained in:
Kyle Spearrin 2017-02-18 15:48:24 -05:00
parent 079fb34120
commit 2c73906ad3

View File

@ -253,9 +253,9 @@ namespace Bit.Android
nodes.Add(n); 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);
} }
} }