AlohaKit.Controls icon indicating copy to clipboard operation
AlohaKit.Controls copied to clipboard

SegmentedControl Type problmes

Open BoungSeokKim opened this issue 2 years ago • 0 comments

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)

BoungSeokKim avatar Feb 10 '23 02:02 BoungSeokKim