Browse Source

Fix build

pull/11169/head
Max Katz 3 years ago
parent
commit
d8da2179f2
  1. 2
      src/Headless/Avalonia.Headless/HeadlessUnitTestSession.cs

2
src/Headless/Avalonia.Headless/HeadlessUnitTestSession.cs

@ -134,7 +134,7 @@ public sealed class HeadlessUnitTestSession : IDisposable
}
s_session = appBuilderEntryPointType is not null ? StartNew(appBuilderEntryPointType).Result : StartNew(typeof(Application)).Result;
s_session = appBuilderEntryPointType is not null ? StartNew(appBuilderEntryPointType) : StartNew(typeof(Application));
return s_session;
}

Loading…
Cancel
Save