Update AppIconTableViewCell.m

This commit is contained in:
arichornlover 2024-06-16 21:47:00 -05:00 committed by GitHub
parent 18ee4e871f
commit d63ee3a9f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,11 +8,15 @@
[self setUpAnimation];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
}
- (void)setupUI {
self.contentView.backgroundColor = [UIColor colorWithRed:240.0/255.0 green:240.0/255.0 blue:240.0/255.0 alpha:1.0];
self.contentView.backgroundColor = [UIColor colorWithRed:240/255.0 green:240/255.0 blue:240/255.0 alpha:1.0];
self.bgCardView.backgroundColor = [UIColor whiteColor];
self.bgCardView.layer.cornerRadius = 8.0;
self.bgCardView.layer.cornerRadius = 8;
self.bgCardView.layer.masksToBounds = YES;
self.bgCardView.layer.shadowColor = [UIColor blackColor].CGColor;
self.bgCardView.layer.shadowOffset = CGSizeZero;
@ -27,7 +31,7 @@
- (void)playAnimation {
self.animationView.hidden = NO;
self.animationView.animation = [Animation named:@"tick"];
self.animationView.loopMode = LOTAnimationLoopModePlayOnce;
self.animationView.loopMode = AnimationPlayOnce;
[self.animationView playWithCompletion:^(BOOL finished) {
self.animationView.hidden = YES;