1.修复bug
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
_musicInfo = musicInfo;
|
||||
if (_musicInfo) {
|
||||
self.musicAlbumImageView.image = [UIImage imageWithData:_musicInfo.songAlbum];
|
||||
self.songNameLabel.text = _musicInfo.songName;
|
||||
self.songNameLabel.text = _musicInfo.musicName;
|
||||
self.authorLabel.text = _musicInfo.author;
|
||||
}
|
||||
}
|
||||
|
@@ -315,7 +315,7 @@ UIKIT_EXTERN NSString * kRoomBackMusicPlayMusicOrderKey;
|
||||
- (void)setCurrentMusic:(Music *)currentMusic {
|
||||
_currentMusic = currentMusic;
|
||||
if (_currentMusic) {
|
||||
self.titleLabel.text = _currentMusic.songName;
|
||||
self.titleLabel.text = _currentMusic.musicName;
|
||||
} else {
|
||||
self.titleLabel.text = YMLocalizedString(@"XPRoomBackMusicPlayerView3");
|
||||
}
|
||||
|
Reference in New Issue
Block a user