summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers
diff options
context:
space:
mode:
authorJimmy Garrido <jimmygarrido@outlook.com>2017-08-17 16:11:41 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:29:51 (GMT)
commit8452a090b601f6e35e51a6ec93f9f5ade5089d1c (patch)
treebd818a6055c68a01a1106ef8d33890e45638df02 /Xamarin.Forms.Platform.Android/Renderers
parent32e739891f120e164b4b837fb984e5db8105ab01 (diff)
downloadxamarin-forms-8452a090b601f6e35e51a6ec93f9f5ade5089d1c.zip
xamarin-forms-8452a090b601f6e35e51a6ec93f9f5ade5089d1c.tar.gz
xamarin-forms-8452a090b601f6e35e51a6ec93f9f5ade5089d1c.tar.bz2
Set time before unfocusing (#1051)
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs
index c2bf10d..453fdf4 100644
--- a/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs
@@ -24,9 +24,9 @@ namespace Xamarin.Forms.Platform.Android
void TimePickerDialog.IOnTimeSetListener.OnTimeSet(ATimePicker view, int hourOfDay, int minute)
{
- ElementController.SetValueFromRenderer(VisualElement.IsFocusedPropertyKey, false);
-
ElementController.SetValueFromRenderer(TimePicker.TimeProperty, new TimeSpan(hourOfDay, minute, 0));
+
+ ElementController.SetValueFromRenderer(VisualElement.IsFocusedPropertyKey, false);
Control.ClearFocus();
if (Forms.IsLollipopOrNewer)