From 452e8cef1c740d18ee398be6971d9952e41dbd4a Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 12 四月 2023 16:11:50 +0800
Subject: [PATCH] 1
---
HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
index a9abca7..710917c 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
@@ -184,6 +184,43 @@
#endregion
privacyPolicyView.GoAction = privacyPolicyAction;
CheckIfNeedUpdateAsync();
+
+#if __IOS__
+ #region 鍥轰欢鍗囩骇
+ var firUpdateView = new ListCellView()
+ {
+ Y = privacyPolicyView.Bottom,
+ };
+ firUpdateView.BtnTilte.TextID = StringId.FirmwareUpdate;
+ bodyView.AddChidren(firUpdateView);
+ Action firmwareUpdateAction = () =>
+ {
+ var mPage = new HDL_ON.UI.UI2.PersonalCenter.AboutOn.FirmwareUpdateView();
+ MainPage.BasePageView.AddChidren(mPage);
+ mPage.ShowPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+ firUpdateView.GoAction = firmwareUpdateAction;
+ #endregion
+
+
+ #region HomeKit鏀寔璇存槑
+ var homeKitView = new ListCellView()
+ {
+ Y = firUpdateView.Bottom,
+ };
+ bodyView.AddChidren(homeKitView);
+ homeKitView.BtnTilte.TextID = StringId.SupportHomeKitNotes;
+ Action homeKitSupportViewAction = () => {
+ var mPage = new HDL_ON.UI.UI2.PersonalCenter.AboutOn.SupportHomeKitNotesPage();
+ MainPage.BasePageView.AddChidren(mPage);
+ mPage.ShowPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+ homeKitView.GoAction = homeKitSupportViewAction;
+ #endregion
+#endif
+
}
--
Gitblit v1.8.0