From 9fbabd47d283bd6e0e7ea5039402279e49bedb12 Mon Sep 17 00:00:00 2001 From: Christian Kyle <57316283+christiankyle-ching@users.noreply.github.com> Date: Wed, 2 Feb 2022 10:48:51 +0800 Subject: [PATCH] fix: Remove sound on exit message, Remove unnecessary Resource --- DigitalWellbeingWPF/App.xaml | 2 -- DigitalWellbeingWPF/MainWindow.xaml.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/DigitalWellbeingWPF/App.xaml b/DigitalWellbeingWPF/App.xaml index 4928062..66dc95d 100644 --- a/DigitalWellbeingWPF/App.xaml +++ b/DigitalWellbeingWPF/App.xaml @@ -6,8 +6,6 @@ StartupUri="MainWindow.xaml"> - - diff --git a/DigitalWellbeingWPF/MainWindow.xaml.cs b/DigitalWellbeingWPF/MainWindow.xaml.cs index 92a8f43..852f6e3 100644 --- a/DigitalWellbeingWPF/MainWindow.xaml.cs +++ b/DigitalWellbeingWPF/MainWindow.xaml.cs @@ -114,7 +114,7 @@ private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs "Are you sure you want to exit the app? Notifications won't work.", App.APPNAME, MessageBoxButton.OKCancel, - MessageBoxImage.Warning, + MessageBoxImage.None, MessageBoxResult.Cancel); if (res == MessageBoxResult.OK)