Skip to content

Commit

Permalink
- fix ios casting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Jun 29, 2021
1 parent 7293e38 commit d5044b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1472,10 +1472,10 @@ public override async void DidMoveToParentViewController(UIViewController parent

public override UIViewController ChildViewControllerForStatusBarHidden()
{
return (UIViewController)Platform.GetRenderer(Current);
return Platform.GetRenderer(Current).ViewController;
}

public override UIViewController ChildViewControllerForHomeIndicatorAutoHidden => (UIViewController)Platform.GetRenderer(Current);
public override UIViewController ChildViewControllerForHomeIndicatorAutoHidden => Platform.GetRenderer(Current).ViewController;

void IEffectControlProvider.RegisterEffect(Effect effect)
{
Expand Down

0 comments on commit d5044b4

Please sign in to comment.