From 21a36cc1e6c56f1e8a2fb257aff5082feeeb06db Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Wed, 20 Dec 2023 16:43:40 +0200 Subject: [PATCH] chore: Small fix --- .../Engine/UI/_Private/UnitTestDispatcherCompat.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Uno.UI.RuntimeTests.Engine.Library/Engine/UI/_Private/UnitTestDispatcherCompat.cs b/src/Uno.UI.RuntimeTests.Engine.Library/Engine/UI/_Private/UnitTestDispatcherCompat.cs index 2e35457..091cb9f 100644 --- a/src/Uno.UI.RuntimeTests.Engine.Library/Engine/UI/_Private/UnitTestDispatcherCompat.cs +++ b/src/Uno.UI.RuntimeTests.Engine.Library/Engine/UI/_Private/UnitTestDispatcherCompat.cs @@ -47,10 +47,11 @@ public enum Priority { Low = -1, Normal = 0, High = 1 } public partial class UnitTestDispatcherCompat { private readonly _Impl _impl; - private readonly Windows.UI.Core.CoreDispatcher? _dispatcher; #if WINDOWS_WINUI || HAS_UNO_WINUI - public UnitTestDispatcherCompat(_Impl impl, Windows.UI.Core.CoreDispatcher? dispatcher = null) + + private readonly Windows.UI.Core.CoreDispatcher? _dispatcher; + public UnitTestDispatcherCompat(_Impl impl, Windows.UI.Core.CoreDispatcher? dispatcher = null) { this._impl = impl; this._dispatcher = dispatcher;