diff --git a/src/AlohaKit/Controls/ToggleSwitch/ToggleSwitch.cs b/src/AlohaKit/Controls/ToggleSwitch/ToggleSwitch.cs index 107578a..a4f5884 100644 --- a/src/AlohaKit/Controls/ToggleSwitch/ToggleSwitch.cs +++ b/src/AlohaKit/Controls/ToggleSwitch/ToggleSwitch.cs @@ -53,7 +53,7 @@ namespace AlohaKit.Controls } public static readonly BindableProperty IsOnProperty = - BindableProperty.Create(nameof(ThumbBrush), typeof(bool), typeof(ToggleSwitch), false, + BindableProperty.Create(nameof(IsOn), typeof(bool), typeof(ToggleSwitch), false, propertyChanged: (bindableObject, oldValue, newValue) => { if (newValue != null && bindableObject is ToggleSwitch toggleSwitch) @@ -168,4 +168,4 @@ namespace AlohaKit.Controls }, duration: 0.1, easing: Easing.Linear)); } } -} \ No newline at end of file +}