From 3403780f3ddf71fdc0b857872027dd9da3bad854 Mon Sep 17 00:00:00 2001 From: Simon G Date: Tue, 6 Apr 2021 14:03:11 +0200 Subject: [PATCH] - refactor --- Mystify/App.axaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mystify/App.axaml.cs b/Mystify/App.axaml.cs index b172692..d9f81c5 100644 --- a/Mystify/App.axaml.cs +++ b/Mystify/App.axaml.cs @@ -26,8 +26,9 @@ namespace Mystify { desktopStyleApplicationLifetime.MainWindow = new MainWindow { - DataContext = new MainWindowViewModel(), + DataContext = new MainWindowViewModel() }; + desktopStyleApplicationLifetime.Exit += OnExit; }