From c5f8ac723ef20a1d1952c15fc33d76fc30a6ad0d Mon Sep 17 00:00:00 2001
From: Hale Cai <339726288@qq.com>
Date: 星期二, 12 十一月 2019 02:20:24 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.173on.com:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/ChatFrame.cs |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/System/MainInterfacePanel/ChatFrame.cs b/System/MainInterfacePanel/ChatFrame.cs
index 703001d..c5d14d0 100644
--- a/System/MainInterfacePanel/ChatFrame.cs
+++ b/System/MainInterfacePanel/ChatFrame.cs
@@ -265,7 +265,7 @@
                     }
                     else
                     {
-                        language = Language.Get(config.ExitDescription);
+                        //language = Language.Get(config.ExitDescription);
                     }
                 }
                 else
@@ -273,15 +273,21 @@
                     language = Language.Get(config.ExitDescription);
                 }
 
-                ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
-                   language, (bool isOk) =>
-                    {
-                        if (isOk)
-                        {
-                            GoToOneKeyButton();
-                        }
-                    }
-                );
+                if (language == string.Empty)
+                {
+                    GoToOneKeyButton();
+                }
+                else {
+                    ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
+                       language, (bool isOk) =>
+                       {
+                           if (isOk)
+                           {
+                               GoToOneKeyButton();
+                           }
+                       }
+                    );
+                }
 
             }
             else

--
Gitblit v1.8.0