Only show log tracer if debug settings are enabled

This commit is contained in:
pizzaboxer 2023-07-24 18:26:38 +01:00
parent 3c365a5839
commit ce02c0a826
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,8 @@ namespace Bloxstrap.UI.Elements.ContextMenu
if (_activityWatcher is not null) if (_activityWatcher is not null)
{ {
LogTracerMenuItem.Visibility = Visibility.Visible; if (App.Settings.Prop.OhHeyYouFoundMe)
LogTracerMenuItem.Visibility = Visibility.Visible;
_activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin; _activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin;
_activityWatcher.OnGameLeave += ActivityWatcher_OnGameLeave; _activityWatcher.OnGameLeave += ActivityWatcher_OnGameLeave;

View File

@ -75,7 +75,6 @@ namespace Bloxstrap
30, 30,
(_, _) => Utilities.ShellExecute($"https://github.com/{App.ProjectRepository}/releases/tag/v{currentVersionInfo.ProductVersion}") (_, _) => Utilities.ShellExecute($"https://github.com/{App.ProjectRepository}/releases/tag/v{currentVersionInfo.ProductVersion}")
); );
} }
else if (!App.IsQuiet) else if (!App.IsQuiet)
{ {