Skip to content

Commit

Permalink
is null
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyIX committed May 11, 2024
1 parent dc8e576 commit 43bd398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/src/Platform/Windows/ContentPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ internal void EnsureBorderPath()

public void UpdateBackground(Paint? background)
{
if (_borderPath == null)
if (_borderPath is null)
{
return;
}
Expand Down Expand Up @@ -135,7 +135,7 @@ void UpdateBorder(IShape? strokeShape)

void AddContent(FrameworkElement? content)
{
if (content == null)
if (content is null)
{
return;
}
Expand Down

0 comments on commit 43bd398

Please sign in to comment.