From 15b3ed160c5a5657d0a94f77776633d0e47266f8 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 12 May 2023 19:08:31 -0500 Subject: [PATCH] Fix for SwipeItemMenuItemHandler on Windows Windows does not appear to need to implement ISetImageHandler --- .../Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs b/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs index d658a6989f3c..025f039b1647 100644 --- a/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs +++ b/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs @@ -14,7 +14,10 @@ namespace Microsoft.Maui.Handlers { - public partial class SwipeItemMenuItemHandler : ISwipeItemMenuItemHandler, ISetImageHandler + public partial class SwipeItemMenuItemHandler : ISwipeItemMenuItemHandler +#if !WINDOWS + , ISetImageHandler +#endif { public static IPropertyMapper Mapper = new PropertyMapper(ViewHandler.ElementMapper)