diff --git a/src/Uno.UI/UI/Xaml/WindowManagerInterop.wasm.cs b/src/Uno.UI/UI/Xaml/WindowManagerInterop.wasm.cs index eee81930436a..31bbbf8e55d0 100644 --- a/src/Uno.UI/UI/Xaml/WindowManagerInterop.wasm.cs +++ b/src/Uno.UI/UI/Xaml/WindowManagerInterop.wasm.cs @@ -39,7 +39,7 @@ internal static void Init(bool isHostedMode, bool isLoadEventsEnabled) IsLoadEventsEnabled = isLoadEventsEnabled }; - TSInteropMarshaller.InvokeJS("UnoStatic:initNative", parms, typeof(bool)); + TSInteropMarshaller.InvokeJS("UnoStatic:initNative", parms); } } @@ -84,7 +84,7 @@ internal static void CreateContent(IntPtr htmlId, string htmlTag, IntPtr handle, IsFocusable = isFocusable }; - TSInteropMarshaller.InvokeJS("Uno:createContentNative", parms, typeof(bool)); + TSInteropMarshaller.InvokeJS("Uno:createContentNative", parms); } } @@ -191,7 +191,7 @@ internal static void SetElementTransform(IntPtr htmlId, Matrix3x2 matrix) M32 = matrix.M32, }; - TSInteropMarshaller.InvokeJS("Uno:setElementTransformNative", parms, typeof(bool)); + TSInteropMarshaller.InvokeJS("Uno:setElementTransformNative", parms); } } @@ -230,7 +230,7 @@ internal static void SetPointerEvents(IntPtr htmlId, bool enabled) Enabled = enabled }; - TSInteropMarshaller.InvokeJS("Uno:setPointerEventsNative", parms, typeof(bool)); + TSInteropMarshaller.InvokeJS("Uno:setPointerEventsNative", parms); } }