We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a351c commit 865df10Copy full SHA for 865df10
1 file changed
src/Graphics/src/Graphics/Platforms/Android/PlatformCanvasState.cs
@@ -92,7 +92,7 @@ public Color FontColor
92
if (_fontColor != value)
93
{
94
_fontColor = value;
95
- FontPaint.Color = value != null ? _fontColor.AsColor() : global::Android.Graphics.Color.Black;
+ FontPaint.Color = _fontColor is not null ? _fontColor.AsColor() : global::Android.Graphics.Color.Black;
96
UpdateShadowState();
97
}
98
0 commit comments