Open BoungSeokKim opened 1 year ago
Net 7.0 Crash form SegmentedControl type miss.
src/AlohaKit/Controls/SegmentedControl/SegmentedControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AlohaKit/Controls/SegmentedControl/SegmentedControl.cs b/src/AlohaKit/Controls/SegmentedControl/SegmentedControl.cs index 329af7b..b70f686 100644 --- a/src/AlohaKit/Controls/SegmentedControl/SegmentedControl.cs +++ b/src/AlohaKit/Controls/SegmentedControl/SegmentedControl.cs @@ -146,7 +146,7 @@ public double ActiveFontSize } public static readonly BindableProperty CornerRadiusProperty = - BindableProperty.Create(nameof(CornerRadius), typeof(int), typeof(SegmentedControl), 24.0d, + BindableProperty.Create(nameof(CornerRadius), typeof(int), typeof(SegmentedControl), 24, propertyChanged: (bindableObject, oldValue, newValue) => { if (newValue != null && bindableObject is SegmentedControl segmentedControl)
Net 7.0 Crash form SegmentedControl type miss.