From f573c74a1b431a6d016d766628f2e6320fa42ff9 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 03 六月 2020 14:50:20 +0800
Subject: [PATCH] 2020-06-03-1

---
 ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
index 5ffb606..051d41a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
@@ -217,7 +217,7 @@
                     }
                     var newVersion = results[0]["version"]?.ToString();
                     var updateContent = results[0]["releaseNotes"]?.ToString();
-                    if (newVersion != CommonPage.CodeIDString)
+                    if (newVersion.CompareTo(CommonPage.CodeIDString) > 0)
                     {
                         return true;
                     }

--
Gitblit v1.8.0