Skip to content

Commit 6b97277

Browse files
committed
fix: Fixed build error about ToggleMenuFlyoutItem
1 parent 200172e commit 6b97277

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libs/H.NotifyIcon.Shared/TaskbarIcon.ContextMenu.WinRT.PopupMenu.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ private void ShowContextMenuInPopupMenuMode(System.Drawing.Point cursorPosition)
3434
#endif
3535
}
3636

37+
#if !HAS_MAUI
3738
[DynamicDependency(DynamicallyAccessedMemberTypes.NonPublicConstructors, typeof(ToggleMenuFlyoutItem))]
39+
#endif
3840
[DynamicDependency(DynamicallyAccessedMemberTypes.NonPublicConstructors, typeof(MenuFlyoutSeparator))]
3941
[DynamicDependency(DynamicallyAccessedMemberTypes.NonPublicConstructors, typeof(MenuFlyoutSubItem))]
4042
[DynamicDependency(DynamicallyAccessedMemberTypes.NonPublicConstructors, typeof(MenuFlyoutItem))]

0 commit comments

Comments
 (0)