mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
remove datepicker style workaround (#1768)
This commit is contained in:
parent
972755c725
commit
59ed76d956
1 changed files with 0 additions and 13 deletions
|
@ -23,19 +23,6 @@ namespace Bit.iOS.Core.Renderers
|
|||
{
|
||||
Control.Text = element.PlaceHolder;
|
||||
}
|
||||
|
||||
// force use of wheel picker on iOS 14+
|
||||
// TODO remove this when we upgrade to X.F 5 SR-1
|
||||
// https://github.com/xamarin/Xamarin.Forms/issues/12258#issuecomment-700168665
|
||||
try
|
||||
{
|
||||
if (UIDevice.CurrentDevice.CheckSystemVersion(13, 2))
|
||||
{
|
||||
var picker = (UIDatePicker)Control.InputView;
|
||||
picker.PreferredDatePickerStyle = UIDatePickerStyle.Wheels;
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue