From 2c73906ad3df89d05a65b3f4e6decd587782d4e4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 18 Feb 2017 15:48:24 -0500 Subject: [PATCH] fix GetWindowNodes recusion --- src/Android/AutofillService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index 4dfcfc0d2..46cc451d8 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -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); } }