Updated TimePickerRenderer
This commit is contained in:
parent
dd6dff7067
commit
a81c152720
|
@ -46,9 +46,9 @@ namespace Ooui.Forms.Renderers
|
||||||
{
|
{
|
||||||
base.OnElementPropertyChanged(sender, e);
|
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);
|
UpdateTime(true);
|
||||||
else if (e.PropertyName == TimePicker.TextColorProperty.PropertyName || e.PropertyName == DatePicker.FormatProperty.PropertyName)
|
else if (e.PropertyName == TimePicker.TextColorProperty.PropertyName)
|
||||||
UpdateTextColor();
|
UpdateTextColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue