The 24h mode for the pickerdialog was not working.

Version 3.1 was working fine. 

Here is an updated file.
This commit is contained in:
Sebastian Rauer 2018-09-06 00:08:29 +02:00 коммит произвёл Jason Smith
Родитель ec76761e3c
Коммит b0c6d6f398
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,7 @@ namespace Xamarin.Forms.Platform.Android
{
AlertDialog _dialog;
TextColorSwitcher _textColorSwitcher;
protected bool _is24HourFormat;
bool Is24HourView
{
@ -110,7 +110,7 @@ namespace Xamarin.Forms.Platform.Android
protected virtual TimePickerDialog CreateTimePickerDialog(int hours, int minutes)
{
var dialog = new TimePickerDialog(Context, this, hours, minutes, _is24HourFormat);
var dialog = new TimePickerDialog(Context, this, hours, minutes, Is24HourView);
if (Forms.IsLollipopOrNewer)
dialog.CancelEvent += OnCancelButtonClicked;