






#import "OutHasBadQuoteCell.h"
#import "KinQueueFlipInfo.h"
#import "Masonry.h"
#import "UIColor+SawColor.h"

@implementation OutHasBadQuoteCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor clearColor];
        
        self.clipsToBounds = YES;
        
        [self addSubview:self.messageLabel];
        
        [self.messageLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 4, 0, 0));
        }];
        
    }
    return self;
}

- (void)setModel:(KinQueueFlipInfo *)model
{
    _model = model;
    _messageLabel.text = model.whoStoneMain;
    _messageLabel.font = [UIFont systemFontOfSize:model.vectorCycleModernPrimaryWayPhase];
    _messageLabel.textColor = [UIColor russianSayUseVignetteSwipeSuccess:model.deferringAnimateContextFamilyFlipEcho];
    self.backgroundColor = [[UIColor russianSayUseVignetteSwipeSuccess:model.workoutsPinchTouchEvictProfileRemote] colorWithAlphaComponent:model.disablingProvisionVisibleFiveInferiorsGrow];
    self.layer.cornerRadius = 2;
}

- (UILabel *)messageLabel {
    if (!_messageLabel) {
        _messageLabel = [[UILabel alloc] init];
        _messageLabel.backgroundColor = [UIColor clearColor];
        _messageLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _messageLabel;
}

@end
