From 611786df5108dca0bdcff03834cc285cba4b8e61 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 13 十月 2020 16:48:43 +0800
Subject: [PATCH] 2020-10-13-1

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index c3780c3..ee3425e 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -117,7 +117,14 @@
                                         btn.IsSelected = state;
                                         if (btn.Tag != null && btn.Tag.ToString() == "state")
                                         {
-                                            btn.Text = function.lastState;
+                                            if(function.functionCategory == FunctionCategory.Music)
+                                            {
+                                                btn.Text = (function as Music.A31MusicModel).A31PlayStatus.Title;
+                                            }
+                                            else
+                                            {
+                                                btn.Text = function.lastState;
+                                            }
                                         }
                                     }
                                 }

--
Gitblit v1.8.0