Skip to content

Commit

Permalink
Avoid reconstructing handler when it is already available (#5591)
Browse files Browse the repository at this point in the history
* Avoid reconstructing handler when it is already available

* Alternative fix
  • Loading branch information
cshung authored Mar 26, 2022
1 parent 41bb8c9 commit eee205e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ internal bool SupportsProgress

bool PageIsInThisContext(IView page)
{
var platformView = page.ToPlatform(MauiContext);
var platformView = page.ToPlatform();

if (platformView.Context == null)
{
Expand Down

0 comments on commit eee205e

Please sign in to comment.