From 8f9c0f8660901d6a315b50d40c8eba802570bf21 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Wed, 15 May 2024 23:16:14 +0300 Subject: [PATCH] Clean up --- DiscordChatExporter.Gui/App.axaml | 15 ++++++++++++++- DiscordChatExporter.Gui/App.axaml.cs | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/DiscordChatExporter.Gui/App.axaml b/DiscordChatExporter.Gui/App.axaml index 66e43889..2d9621d9 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 a62e75b9..b933efba 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();