This commit is contained in:
Jöran Malek 2024-02-09 01:43:27 +01:00
parent 0d32e6a5c3
commit 527efff89a
2 changed files with 16 additions and 0 deletions

View file

@ -3,7 +3,9 @@ using Avalonia.ReactiveUI;
using Avalonia.Threading;
using InkForge.Common;
using InkForge.Common.ViewModels;
using InkForge.Data;
using InkForge.Desktop.Views;
using Microsoft.Extensions.DependencyInjection;
@ -35,6 +37,8 @@ static class Program
mutableResolver.InitializeReactiveUI();
services.AddInkForge();
services.AddTransient<IViewFor<AppViewModel>, MainWindow>();
}
private static void OnSetup(this IServiceCollection services, AppBuilder appBuilder)