From 2e12a9190f431565e576d0b05866366d15bcc9ae Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 六月 2022 11:07:37 +0800 Subject: [PATCH] 修复场景闪退问题 --- HDL_ON/UI/UI2/FuntionControlView/Music/A31MusicFileList.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/A31MusicFileList.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/A31MusicFileList.cs index 779d161..2982d04 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/A31MusicFileList.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/A31MusicFileList.cs @@ -17,7 +17,7 @@ this.BackgroundColor = MusicColor.ViewColor; var topView = new TopView(); this.AddChidren(topView.TopFLayoutView()); - topView.topNameBtn.TextID = StringId.usb; + topView.topNameBtn.TextID = StringId.localMusic; topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { this.RemoveFromParent(); @@ -37,14 +37,14 @@ { try { - SendMethod.sendMethod.GetPalyList(A31MusicModel.Current.functionMusic); + SendMethod.mMethod.GetPalyList(A31MusicModel.Current.functionMusic); } catch { } finally { Application.RunOnMainThread(() => { - FileView(); + this.FileView(); middViewLayout.EndHeaderRefreshing(); }); } @@ -59,9 +59,9 @@ public void FileView() { middViewLayout.RemoveAll(); - for (int i = 0; i < A31MusicModel.Current.palyListInfos.Count; i++) + for (int i = 0; i < A31MusicModel.Current.palyLists.Count; i++) { - var list = A31MusicModel.Current.palyListInfos[i]; + var list = A31MusicModel.Current.palyLists[i]; RowLayout addFlieRow = new RowLayout { Height = Application.GetRealHeight(104), -- Gitblit v1.8.0