From 943d06cf56b85f3ed0a5a6ba38a02ca370e66a7a Mon Sep 17 00:00:00 2001 From: James Clancey Date: Fri, 16 Apr 2021 13:31:45 -0800 Subject: [PATCH] Updated Maui --- Directory.Build.props | 2 +- External/Maui | 2 +- src/Comet/Controls/Toggle.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 5a75edf0..ca94f0db 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - + true true diff --git a/External/Maui b/External/Maui index e1f816ce..2a2362f3 160000 --- a/External/Maui +++ b/External/Maui @@ -1 +1 @@ -Subproject commit e1f816ce4d0a30ab0a066c2b641989f0f22ce663 +Subproject commit 2a2362f324a3739d2fc3036635f12144780718b4 diff --git a/src/Comet/Controls/Toggle.cs b/src/Comet/Controls/Toggle.cs index 2bd63b5b..abf60f0e 100644 --- a/src/Comet/Controls/Toggle.cs +++ b/src/Comet/Controls/Toggle.cs @@ -11,7 +11,7 @@ namespace Comet { [nameof(Color)] = nameof(ISwitch.TrackColor), [nameof(EnvironmentKeys.Slider.ThumbColor)] = nameof(ISwitch.ThumbColor), - [nameof(IsOn)] = nameof(ISwitch.IsToggled), + [nameof(IsOn)] = nameof(ISwitch.IsOn), }; public Toggle( @@ -30,7 +30,7 @@ namespace Comet } public Action IsOnChanged { get; private set; } - bool ISwitch.IsToggled { get => IsOn; set => IsOnChanged.Invoke(value); } + bool ISwitch.IsOn { get => IsOn; set => IsOnChanged.Invoke(value); } Color ISwitch.TrackColor => this.GetColor();