Skip to content

Commit

Permalink
fix: Remove sound on exit message, Remove unnecessary Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
christiankyle-ching committed Feb 2, 2022
1 parent 0dd2018 commit 9fbabd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions DigitalWellbeingWPF/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<BitmapImage x:Key="AppIcon" UriSource="./Images/app-logo.ico" />

<ResourceDictionary.MergedDictionaries>
<ui:ThemeResources />
<ui:XamlControlsResources />
Expand Down
2 changes: 1 addition & 1 deletion DigitalWellbeingWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9fbabd4

Please sign in to comment.