This commit is contained in:
2026-01-16 04:54:03 +00:00
parent 71a37da1a4
commit a8c8939a3f
2 changed files with 184 additions and 81 deletions

View File

@@ -73,7 +73,7 @@ public partial class CheckBoxHandler : ViewHandler<ICheckBox, SkiaCheckBox>
if (checkBox.Foreground is SolidPaint solidPaint && solidPaint.Color is not null)
{
handler.PlatformView.CheckColor = solidPaint.Color.ToSKColor();
handler.PlatformView.CheckColor = solidPaint.Color;
}
}
@@ -83,7 +83,7 @@ public partial class CheckBoxHandler : ViewHandler<ICheckBox, SkiaCheckBox>
if (checkBox.Background is SolidPaint solidPaint && solidPaint.Color is not null)
{
handler.PlatformView.BackgroundColor = solidPaint.Color.ToSKColor();
handler.PlatformView.Color = solidPaint.Color;
}
}