From 08c644fb98f388c47795fd7335c8299e19f23990 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 20 Dec 2020 20:05:10 +1300 Subject: [PATCH] Fix close to tray --- MainForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MainForm.cs b/MainForm.cs index 1bfc7efe..211ce287 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -1,4 +1,4 @@ -// Copyright(c) 2019 pypy. All rights reserved. +// Copyright(c) 2019 pypy. All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see . @@ -132,7 +132,7 @@ namespace VRCX private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { if (e.CloseReason == CloseReason.UserClosing && - "true".Equals(VRCXStorage.Instance.Get("VRCX_CloseToTray"))) + "true".Equals(SharedVariable.Instance.Get("config:vrcx_closetotray"))) { e.Cancel = true; Hide();