Skip to content

Commit

Permalink
[Fix] NPE when calling Navigator.findView
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-id committed Jun 8, 2023
1 parent 6f2b3af commit 374f480
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ public View findView(NavRoute navRoute) {
if (!(navRoute.getStatefulView() instanceof StatefulViewDialog)) {
int routeIndex = findRouteIndex(navRoute);
if (routeIndex != -1) {
result = getViewAnimator().getChildAt(
result = getViewAnimator().getChildFromStack(
calculateRouteIndexForViewAnimator(routeIndex)
);
}
Expand Down

0 comments on commit 374f480

Please sign in to comment.