From 75b188d3847edbdabca9cc60f36d1ffefb426586 Mon Sep 17 00:00:00 2001 From: Tim Kennedy Date: Mon, 25 Sep 2023 16:56:10 -0500 Subject: [PATCH] Added option to show/hide Exit in Nav bar. Closes #41. --- WUView/Configuration/UserSettings.cs | 3 +++ WUView/MainWindow.xaml | 15 +++++++++++++++ WUView/Views/SettingsPage.xaml | 5 +++++ 3 files changed, 23 insertions(+) diff --git a/WUView/Configuration/UserSettings.cs b/WUView/Configuration/UserSettings.cs index cac01ce..45535e4 100644 --- a/WUView/Configuration/UserSettings.cs +++ b/WUView/Configuration/UserSettings.cs @@ -54,6 +54,9 @@ public partial class UserSettings : ConfigManager [ObservableProperty] private bool _showDetails = true; + [ObservableProperty] + private bool _showExitInNav = true; + [ObservableProperty] private bool _showLogWarnings = true; diff --git a/WUView/MainWindow.xaml b/WUView/MainWindow.xaml index 6fca566..16d0974 100644 --- a/WUView/MainWindow.xaml +++ b/WUView/MainWindow.xaml @@ -40,6 +40,7 @@ + @@ -164,6 +165,20 @@ + + + + +