From d928878020eb55845755f2614122056ed5ef50a6 Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Mon, 30 Oct 2023 11:38:42 -0700 Subject: [PATCH] avalonia: actually setup Avalonia before starting In removing the Avalonia setup workaround in #1445 we forget to replace the SetupWithLifetime call with just SetupWithoutStarting! --- src/shared/Core/UI/AvaloniaUi.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/Core/UI/AvaloniaUi.cs b/src/shared/Core/UI/AvaloniaUi.cs index 0c2ca237e7..34021c5958 100644 --- a/src/shared/Core/UI/AvaloniaUi.cs +++ b/src/shared/Core/UI/AvaloniaUi.cs @@ -81,7 +81,8 @@ public static Task ShowWindowAsync(Func windowFunc, object dataContext, #else .UsePlatformDetect() #endif - .LogToTrace(); + .LogToTrace() + .SetupWithoutStarting(); appInitialized.Set();