//
//  KKListenDetailCell.m
//  Open
//
//  Created by 雷俊博 on 2020/6/5.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import "KKListenDetailCell.h"

@interface KKListenDetailCell ()
@property (weak, nonatomic) IBOutlet UILabel *lb_mark;



@end

@implementation KKListenDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.lb_mark.layer.cornerRadius = 4;
    self.lb_mark.layer.masksToBounds = YES;
}

- (void)setIsPlaying:(BOOL)isPlaying {
    if (isPlaying) {
        if (self.playStatue) {
            [self.playBtn setImage:[UIImage imageNamed:@"playlist_on"] forState:UIControlStateNormal];
        }else{
            [self.playBtn setImage:[UIImage imageNamed:@"playlist_pause"] forState:UIControlStateNormal];
        }
    }else {
        [self.playBtn setImage:[UIImage imageNamed:@"playlist_pause"] forState:UIControlStateNormal];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
