From ed8b62c72831d92067369cc9abb35f1470b8e4d3 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 03 一月 2023 17:30:14 +0800
Subject: [PATCH] 增加上网秘钥写入,本地通讯秘钥写入
---
Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs
index e1ddf4b..c7341bd 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs
@@ -50,7 +50,16 @@
{
#region ---TopView---
base.ShowPage ();
- this.topTitleBtn.Text = "Alexa";
+ //this.topTitleBtn.Text = "Alexa";
+
+ //璁剧疆鏍囬涓洪煶绠卞娉�
+ if (mAlexa != null) {
+ if (string.IsNullOrEmpty (mAlexa.remark)) {
+ this.topTitleBtn.Text = mAlexa.platformName;
+ } else {
+ this.topTitleBtn.Text = mAlexa.remark;
+ }
+ }
//娣诲姞鎸夐挳鐐瑰嚮浜嬩欢
EventHandler<MouseEventArgs> addSubaccountHandler = (sender, e) => {
OpenAlexaSettingPage ();
@@ -60,7 +69,7 @@
#region 璁惧-鍦烘櫙
var topView = new FrameLayout () {
- Height = Application.GetRealHeight (110),
+ Height = Application.GetRealWidth (110),
BackgroundColor = SkinStyle.Current.TitileView,
};
BaseContentView.AddChidren (topView);
--
Gitblit v1.8.0