From ce02c0a826d52cc7be7dcae703891f50e9ad0f14 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Mon, 24 Jul 2023 18:26:38 +0100 Subject: [PATCH] Only show log tracer if debug settings are enabled --- Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs | 3 ++- Bloxstrap/Updater.cs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs index 44bd1d0..70fc51d 100644 --- a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs +++ b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs @@ -39,7 +39,8 @@ namespace Bloxstrap.UI.Elements.ContextMenu if (_activityWatcher is not null) { - LogTracerMenuItem.Visibility = Visibility.Visible; + if (App.Settings.Prop.OhHeyYouFoundMe) + LogTracerMenuItem.Visibility = Visibility.Visible; _activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin; _activityWatcher.OnGameLeave += ActivityWatcher_OnGameLeave; diff --git a/Bloxstrap/Updater.cs b/Bloxstrap/Updater.cs index 022394a..4e091e9 100644 --- a/Bloxstrap/Updater.cs +++ b/Bloxstrap/Updater.cs @@ -75,7 +75,6 @@ namespace Bloxstrap 30, (_, _) => Utilities.ShellExecute($"https://github.com/{App.ProjectRepository}/releases/tag/v{currentVersionInfo.ProductVersion}") ); - } else if (!App.IsQuiet) {