Skip to content

SegmentedControl Type problmes #50

@BoungSeokKim

Description

@BoungSeokKim

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions