Skip to content

Commit 0701e4f

Browse files
committed
fix(TimePicker): Make sure Android flyout opens
1 parent a33ab37 commit 0701e4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Uno.UI/UI/Xaml/Controls/Flyout/FlyoutBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ private protected virtual void OnClosed() { }
269269

270270
private protected virtual void OnOpened() { }
271271

272-
protected virtual Control CreatePresenter() => throw new InvalidOperationException();
272+
protected virtual Control CreatePresenter() => null;
273273

274274
private void OnPopupClosed(object sender, object e)
275275
{

src/Uno.UI/UI/Xaml/Controls/TimePicker/TimePickerFlyout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Windows.UI.Xaml.Controls
55
{
66
partial class TimePickerFlyout : PickerFlyoutBase
77
{
8-
#if !__IOS__
8+
#if !__ANDROID__ && !__IOS__
99
protected override Control CreatePresenter() => throw new NotImplementedException();
1010
#endif
1111

0 commit comments

Comments
 (0)