diff --git a/DiscordChatExporter.Gui/App.axaml b/DiscordChatExporter.Gui/App.axaml index 66e4388..2d9621d 100644 --- a/DiscordChatExporter.Gui/App.axaml +++ b/DiscordChatExporter.Gui/App.axaml @@ -126,7 +126,7 @@ @@ -137,4 +137,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/DiscordChatExporter.Gui/App.axaml.cs b/DiscordChatExporter.Gui/App.axaml.cs index a62e75b..b933efb 100644 --- a/DiscordChatExporter.Gui/App.axaml.cs +++ b/DiscordChatExporter.Gui/App.axaml.cs @@ -20,12 +20,12 @@ namespace DiscordChatExporter.Gui; public class App : Application, IDisposable { + private readonly DisposableCollector _eventRoot = new(); + private readonly ServiceProvider _services; private readonly SettingsService _settingsService; private readonly MainViewModel _mainViewModel; - private readonly DisposableCollector _eventRoot = new(); - public App() { var services = new ServiceCollection();