fix: fix button clear issue.

This commit is contained in:
rabbitism
2024-04-27 14:34:26 +08:00
parent 706147a6a7
commit af3b343550
3 changed files with 7 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ public class TimePicker : TemplatedControl, IClearControl, IInnerContentControl,
public void Clear()
{
SetCurrentValue(SelectedTimeProperty, null);
_presenter?.SetValue(TimePickerPresenter.TimeProperty, null);
}
public object? InnerLeftContent