From e67e42de58795da31b10f19775e5af46e3d14b44 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 21 五月 2020 17:47:01 +0800 Subject: [PATCH] 2020-05-21-1 --- HDL_ON/UI/Music/A31PlayMusicPage.cs | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/Music/A31PlayMusicPage.cs b/HDL_ON/UI/Music/A31PlayMusicPage.cs index 23465d6..f04774c 100644 --- a/HDL_ON/UI/Music/A31PlayMusicPage.cs +++ b/HDL_ON/UI/Music/A31PlayMusicPage.cs @@ -64,17 +64,17 @@ playView.loveBtn.IsSelected = !playView.loveBtn.IsSelected; if (playView.loveBtn.IsSelected) { - if (null == A31MusicModel.Current.CnLoveRadioInfoList.Find((musicInfo) => + if (null == A31MusicModel.Current.LoveRadioInfoList.Find((musicInfo) => { return url == musicInfo.URL; })) { - A31MusicModel.Current.CnLoveRadioInfoList.Add(new MusicInfo { Title = song, URL = url, }); + A31MusicModel.Current.LoveRadioInfoList.Add(new MusicInfo { Title = song, URL = url, }); } } else { - A31MusicModel.Current.CnLoveRadioInfoList.RemoveAll((musicInfo) => + A31MusicModel.Current.LoveRadioInfoList.RemoveAll((musicInfo) => { return url == musicInfo.URL; }); @@ -403,22 +403,21 @@ switch (A31MusicModel.Current.A31PlayStatus.loop) { - + case "0"://鍒楄〃寰幆 + playView.playOrderBtn.UnSelectedImagePath = "MusicIcon/list.png"; + break; case "1"://鍗曟洸椤虹幆 playView.playOrderBtn.UnSelectedImagePath = "MusicIcon/single.png"; break; case "2"://闅忔満鎾斁 playView.playOrderBtn.UnSelectedImagePath = "MusicIcon/random.png"; break; - case "0"://鍒楄〃寰幆 - playView.playOrderBtn.UnSelectedImagePath = "MusicIcon/list.png"; - break; } if (A31MusicModel.Current.A31PlayStatus.Source == "RADIO-NETWORK") { - var v = A31MusicModel.Current.CnLoveRadioInfoList.Find((like) => + var v = A31MusicModel.Current.LoveRadioInfoList.Find((like) => { return like.URL == A31MusicModel.Current.A31PlayStatus.TrackURL; }); -- Gitblit v1.8.0