Коммит
4307ec7395
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче