diff --git a/Wabbajack.App.Blazor/MainWindow.xaml b/Wabbajack.App.Blazor/MainWindow.xaml index 25690568..9d2a54c3 100644 --- a/Wabbajack.App.Blazor/MainWindow.xaml +++ b/Wabbajack.App.Blazor/MainWindow.xaml @@ -8,8 +8,7 @@ mc:Ignorable="d" Title="MainWindow" Height="750" Width="1200" MinHeight="750" MinWidth="1200"> - + diff --git a/Wabbajack.App.Blazor/MainWindow.xaml.cs b/Wabbajack.App.Blazor/MainWindow.xaml.cs index a994961a..16d44579 100644 --- a/Wabbajack.App.Blazor/MainWindow.xaml.cs +++ b/Wabbajack.App.Blazor/MainWindow.xaml.cs @@ -20,8 +20,8 @@ public partial class MainWindow _logger = logger; _loggerProvider = loggerProvider; _systemParams = systemParams; - Resources.Add("services", serviceProvider); InitializeComponent(); + BlazorWebView.Services = serviceProvider; try {