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,6 +39,7 @@ namespace Bloxstrap.UI.Elements.ContextMenu
if (_activityWatcher is not null)
{
if (App.Settings.Prop.OhHeyYouFoundMe)
LogTracerMenuItem.Visibility = Visibility.Visible;
_activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin;

View File

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