From 4c3318ac8667ea62c5ee5bbec175d0b1cc4781e5 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 1 Feb 2025 14:11:12 +0800 Subject: [PATCH] Revert "Update MainWindow.axaml.cs" This reverts commit 4d95d7d8c081158dc62eb5a3b7e3a397302c093f. --- 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 8ab70876..43ff5cb8 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 (_config.UiItem.Hide2TrayWhenClose) + if (Utils.IsOSX() || _config.UiItem.Hide2TrayWhenClose) { foreach (var ownedWindow in this.OwnedWindows) {