//
//  HWFolderListCell.m
//  双子星云手机
//
//  Created by 余衡武 on 2022/3/23.
//

#import "HWFolderListCell.h"

@implementation HWFolderListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(HWFolderModel *)model {
    
    _model = model;
    
    self.nameLabel.text = model.name;

    if (model.isSelected) {
        self.selectBtn.selected = YES;
        self.nameLabel.textColor = [UIColor hwColor:@"#3B7FFF"];
    }else {
        self.selectBtn.selected = NO;
        self.nameLabel.textColor = [UIColor hwColor:@"#FFFFFF"];
    }
}

@end
