Updated TimePickerRenderer

This commit is contained in:
Javier Suárez Ruiz 2017-12-16 17:01:06 +01:00
parent dd6dff7067
commit a81c152720
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ namespace Ooui.Forms.Renderers
{
base.OnElementPropertyChanged(sender, e);
if (e.PropertyName == TimePicker.TimeProperty.PropertyName || e.PropertyName == DatePicker.FormatProperty.PropertyName)
if (e.PropertyName == TimePicker.TimeProperty.PropertyName || e.PropertyName == TimePicker.FormatProperty.PropertyName)
UpdateTime(true);
else if (e.PropertyName == TimePicker.TextColorProperty.PropertyName || e.PropertyName == DatePicker.FormatProperty.PropertyName)
else if (e.PropertyName == TimePicker.TextColorProperty.PropertyName)
UpdateTextColor();
}