Skip to content

Commit

Permalink
fix: getting first child fromr recycler in view group
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasmi committed Sep 22, 2023
1 parent 0ce595a commit 224ae79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create/src/focusManager/model/viewGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ViewGroup extends FocusModel {
} else if (firstChildren) {
const recycler = firstChildren as RecyclerView;
if (recycler.getFocusedView()) return recycler.getFocusedView();
return recycler.getChildren[0];
return recycler.getChildren()[0] as View | null;
}
}

Expand Down

0 comments on commit 224ae79

Please sign in to comment.