Skip to content

Commit 865df10

Browse files
Changes-addressed
1 parent c1a351c commit 865df10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Graphics/src/Graphics/Platforms/Android/PlatformCanvasState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Color FontColor
9292
if (_fontColor != value)
9393
{
9494
_fontColor = value;
95-
FontPaint.Color = value != null ? _fontColor.AsColor() : global::Android.Graphics.Color.Black;
95+
FontPaint.Color = _fontColor is not null ? _fontColor.AsColor() : global::Android.Graphics.Color.Black;
9696
UpdateShadowState();
9797
}
9898
}

0 commit comments

Comments
 (0)