Skip to content

Commit

Permalink
avalonia: actually setup Avalonia before starting (#1453)
Browse files Browse the repository at this point in the history
In removing the Avalonia setup workaround in #1445 we forget to replace
the SetupWithLifetime call with just SetupWithoutStarting!
  • Loading branch information
mjcheetham authored Oct 30, 2023
2 parents 59f01d9 + d928878 commit 97a217d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/Core/UI/AvaloniaUi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public static Task ShowWindowAsync(Func<Window> windowFunc, object dataContext,
#else
.UsePlatformDetect()
#endif
.LogToTrace();
.LogToTrace()
.SetupWithoutStarting();

appInitialized.Set();

Expand Down

0 comments on commit 97a217d

Please sign in to comment.