Missing backgroundcolor
This commit is contained in:
@@ -59,7 +59,7 @@ public partial class DatePickerHandler : ViewHandler<IDatePicker, SkiaDatePicker
|
||||
platformView.TextColor = Color.FromRgb(224, 224, 224);
|
||||
platformView.BorderColor = Color.FromRgb(97, 97, 97);
|
||||
platformView.DisabledDayColor = Color.FromRgb(97, 97, 97);
|
||||
platformView.BackgroundColor = Color.FromRgb(45, 45, 45).ToSKColor();
|
||||
platformView.BackgroundColor = Color.FromRgb(45, 45, 45);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ public partial class DatePickerHandler : ViewHandler<IDatePicker, SkiaDatePicker
|
||||
|
||||
if (datePicker.Background is SolidPaint solidPaint && solidPaint.Color is not null)
|
||||
{
|
||||
handler.PlatformView.BackgroundColor = solidPaint.Color.ToSKColor();
|
||||
handler.PlatformView.BackgroundColor = solidPaint.Color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user