|
@@ -249,6 +249,8 @@ class PQStuckPointMusicContentCell: UICollectionViewCell {
|
|
|
|
|
|
func stopLoadingAnimation(){
|
|
|
playImageView.layer.removeAllAnimations()
|
|
|
- playImageView.kf.setImage(with: URL(fileURLWithPath: Bundle().BF_mainbundle().path(forResource: "stuckPoint_music_playing", ofType: ".gif")!))
|
|
|
+ if (bgmData as? PQVoiceModel)?.isPlaying ?? false {
|
|
|
+ playImageView.kf.setImage(with: URL(fileURLWithPath: Bundle().BF_mainbundle().path(forResource: "stuckPoint_music_playing", ofType: ".gif")!))
|
|
|
+ }
|
|
|
}
|
|
|
}
|