From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 01 十二月 2022 09:56:25 +0800
Subject: [PATCH] 2022年12月01日09:56:23

---
 ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundListForm.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundListForm.cs b/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundListForm.cs
old mode 100755
new mode 100644
index 0c08901..7e91777
--- a/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundListForm.cs
+++ b/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundListForm.cs
@@ -186,7 +186,7 @@
             //
             listView.RemoveAll();
 
-            if (smartSoundInfo == null)
+            if (smartSoundInfo == null|| smartSoundInfo.ResponseData==null|| smartSoundInfo.ResponseData.Data==null)
                 return;
 
             for (int i = 0; i < smartSoundInfo.ResponseData.Data.Count; i++)

--
Gitblit v1.8.0