From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
index 00c0c10..df5777d 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
@@ -36,7 +36,7 @@
var serverBtn = new Button()
{
X = Application.GetRealWidth(40),
- Y = imageView.Bottom + Application.GetRealHeight(12),
+ Y = imageView.Bottom + Application.GetRealHeight(12),
Width = Application.GetRealWidth(295),
Height = Application.GetRealHeight(22),
TextAlignment = TextAlignment.CenterLeft,
@@ -93,13 +93,19 @@
IsBold = true
};
bodyView.AddChidren(phoneBtn);
+ if(Language.CurrentLanguage != "Chinese")
+ {
+ phoneBtn.Y = Application.GetRealHeight(566);
+ phoneBtn.Y = callBtn.Bottom;
+ phoneBtn.X = callBtn.X;
+ }
phoneBtn.MouseUpEventHandler += (sender, e) =>
{
PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER);
};
-
- serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + UserInfo.Current.GlobalRegion.regionName;
+
+ serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName;
}
}
--
Gitblit v1.8.0