From 4d95d7d8c081158dc62eb5a3b7e3a397302c093f Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri, 31 Jan 2025 15:59:35 +0800 Subject: [PATCH] Update MainWindow.axaml.cs if (Utils.IsOSX() || _config.UiItem.Hide2TrayWhenClose) --- v2rayN/v2rayN.Desktop/Views/MainWindow.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml.cs b/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml.cs index 43ff5cb8..8ab70876 100644 --- a/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml.cs +++ b/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml.cs @@ -414,7 +414,7 @@ namespace v2rayN.Desktop.Views } else { - if (Utils.IsOSX() || _config.UiItem.Hide2TrayWhenClose) + if (_config.UiItem.Hide2TrayWhenClose) { foreach (var ownedWindow in this.OwnedWindows) {