Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Fix variable naming for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Eilon committed May 18, 2020
1 parent a9639b2 commit c51e314
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public virtual int GetPhysicalSiblingIndex()
// A ContentPage can have only 1 child, so the child's index is always 0.
return 0;
}
case XF.TabbedPage tabbedPage:
case XF.TabbedPage parentAsTabbedPage:
{
var childAsPage = nativeComponent as XF.Page;
return tabbedPage.Children.IndexOf(childAsPage);
return parentAsTabbedPage.Children.IndexOf(childAsPage);
}
case XF.ScrollView _:
{
Expand Down

0 comments on commit c51e314

Please sign in to comment.