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 30, 2021
1 parent 92797e6 commit 63cbe79
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 63cbe79

Please sign in to comment.