Skip to content

Commit

Permalink
Merge pull request #62 from LuckyDucko/patch-1
Browse files Browse the repository at this point in the history
Update AddTimePickerPlatformEffect.cs
  • Loading branch information
muak authored Sep 28, 2020
2 parents b3a30a8 + 1c9da76 commit 02760b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AiForms.Effects.iOS/AddDatePickerPlatformEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void CreatePicker()
_view.UserInteractionEnabled = true;
_view.SendSubviewToBack(_entry);

_picker = new UIDatePicker { Mode = UIDatePickerMode.Date, TimeZone = new Foundation.NSTimeZone("UTC") };
_picker = new UIDatePicker { Mode = UIDatePickerMode.Date, TimeZone = new Foundation.NSTimeZone("UTC"), PreferredDatePickerStyle = UIDatePickerStyle.Wheels };
var todayText = AddDatePicker.GetTodayText(Element);

var width = UIScreen.MainScreen.Bounds.Width;
Expand Down
2 changes: 1 addition & 1 deletion AiForms.Effects.iOS/AddTimePickerPlatformEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void CreatePicker()
_view.UserInteractionEnabled = true;
_view.SendSubviewToBack(_entry);

_picker = new UIDatePicker { Mode = UIDatePickerMode.Time, TimeZone = new Foundation.NSTimeZone("UTC") };
_picker = new UIDatePicker { Mode = UIDatePickerMode.Time, TimeZone = new Foundation.NSTimeZone("UTC"), PreferredDatePickerStyle = UIDatePickerStyle.Wheels };
_title = new UILabel();

var width = UIScreen.MainScreen.Bounds.Width;
Expand Down

0 comments on commit 02760b7

Please sign in to comment.