We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debc982 commit 9a5e0abCopy full SHA for 9a5e0ab
src/libs/H.NotifyIcon.Shared/TaskbarIcon.ContextMenu.WinUI.SecondWindow.cs
@@ -99,7 +99,7 @@ private void PrepareContextMenuWindow()
99
AreOpenCloseAnimationsEnabled = ContextFlyout.AreOpenCloseAnimationsEnabled,
100
Placement = FlyoutPlacementMode.Full,
101
};
102
- flyout.Closed += async (_, _) =>
+ flyout.Closed += (_, _) =>
103
{
104
if (!flyout.AreOpenCloseAnimationsEnabled ||
105
!IsContextMenuVisible)
@@ -108,7 +108,6 @@ private void PrepareContextMenuWindow()
108
return;
109
}
110
111
- await Task.Delay(1).ConfigureAwait(true);
112
flyout.ShowAt(window.Content, new FlyoutShowOptions
113
114
ShowMode = FlyoutShowMode.Transient,
0 commit comments