From 42fad29b1e280b512452f5552d1e9ce98474252e Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 17 五月 2021 09:40:14 +0800
Subject: [PATCH] 2021-05-17 1.在阿廖分支基础上增加iOS乐橙可视对讲功能,目前呼叫还有一点问题,偶尔会闪退,目前还没定位到原因
---
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