Skip to content

Commit

Permalink
Missed a null check
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Jun 20, 2024
1 parent 0321a35 commit b91628a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public UIView NativeView
public void SetElement(VisualElement element)
{
(this as IElementHandler).SetVirtualView(element);
_element = new(element);
_element = element is null ? null : new(element);
}

public UIViewController ViewController
Expand Down

0 comments on commit b91628a

Please sign in to comment.