






#import "FailingPauseNominalEasyDistinctCell.h"
#import "ButPhonetic.h"
#import "Masonry.h"

@implementation FailingPauseNominalEasyDistinctCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.primaryOwnView = [UIImageView new];
        self.primaryOwnView.tintColor = [ButPhonetic sonLegacyColor];
        self.primaryOwnView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.primaryOwnView];
        [self.primaryOwnView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(ButPhonetic.ditheredFast.caretFaceSpa);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(ButPhonetic.ditheredFast.linerDarkHas);
        }];
        
        
        self.callbackName = [UILabel new];
        self.callbackName.font = [UIFont boldSystemFontOfSize:16];
        self.callbackName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.callbackName];
        [self.callbackName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.primaryOwnView.mas_right).offset(ButPhonetic.ditheredFast.caretFaceSpa);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.keyStreamedTime = [UILabel new];
        self.keyStreamedTime.font =  [UIFont systemFontOfSize:11];
        self.keyStreamedTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.keyStreamedTime];
        [self.keyStreamedTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(ButPhonetic.ditheredFast.capsWaxShot);
            make.left.equalTo(self.callbackName);
        }];
    }
    return self;
}

@end
