diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index 907dd8e..fd65e2e 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -71,16 +71,14 @@ namespace Bloxstrap void FinalizeExceptionHandling(Exception exception) { -#pragma warning disable 162 #if DEBUG throw exception; -#endif - +#else if (!IsQuiet) Controls.ShowExceptionDialog(exception); Terminate(ErrorCode.ERROR_INSTALL_FAILURE); -#pragma warning restore 162 +#endif } protected override void OnStartup(StartupEventArgs e) diff --git a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml index 5916c07..eb8b10d 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml +++ b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml @@ -38,7 +38,7 @@ -