Skip to content

Commit

Permalink
fix(TimePicker): Make sure Android flyout opens
Browse files Browse the repository at this point in the history
  • Loading branch information
iosub committed Apr 11, 2021
1 parent a33ab37 commit 0701e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/Flyout/FlyoutBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private protected virtual void OnClosed() { }

private protected virtual void OnOpened() { }

protected virtual Control CreatePresenter() => throw new InvalidOperationException();
protected virtual Control CreatePresenter() => null;

private void OnPopupClosed(object sender, object e)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/TimePicker/TimePickerFlyout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Windows.UI.Xaml.Controls
{
partial class TimePickerFlyout : PickerFlyoutBase
{
#if !__IOS__
#if !__ANDROID__ && !__IOS__
protected override Control CreatePresenter() => throw new NotImplementedException();
#endif

Expand Down

0 comments on commit 0701e4f

Please sign in to comment.