Skip to content

Commit

Permalink
Resolved the webview loaded without exception failed case in android …
Browse files Browse the repository at this point in the history
…platform.
  • Loading branch information
NanthiniMahalingam committed Nov 21, 2024
1 parent 535b554 commit 84e03cf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue18452.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ protected override void Init()
{
if (c.Name == "DotNetMAUICookie")
{
grid.Children.Add(label);
label.Text = "Success";
break;
if (!grid.Contains(label))
{
grid.Children.Add(label);
label.Text = "Success";
break;
}
}
}
};

Content = grid;
}
}
}
}

0 comments on commit 84e03cf

Please sign in to comment.