From 1a084015d32432a78bfd8da072ab895b31cb83c8 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:47:45 +0100 Subject: [PATCH 1/2] fix warning without disabling warning --- Bloxstrap/App.xaml.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index 907dd8ed..fd65e2eb 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -71,16 +71,14 @@ void GlobalExceptionHandler(object sender, DispatcherUnhandledExceptionEventArgs 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) From 8831786d80be82667e6a5e8930aea14c9bda51f5 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sun, 16 Jul 2023 14:13:51 +0100 Subject: [PATCH 2/2] fix fluent cancel button --- Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml index 5916c073..eb8b10de 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml +++ b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml @@ -38,7 +38,7 @@ -