From fa14feb97d01933e5c5361a8fa6e5cf54b5ce0c7 Mon Sep 17 00:00:00 2001 From: Oleksandr Liakhevych Date: Wed, 14 Sep 2022 17:33:10 +0300 Subject: [PATCH] Fix IsOnProperty name --- src/AlohaKit/Controls/ToggleSwitch/ToggleSwitch.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}