1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-06 16:26:47 +00:00
This commit is contained in:
Burrit0z
2020-05-19 12:16:37 -04:00
parent 8e6f4ee65f
commit 4ebed09a70
2 changed files with 22 additions and 49 deletions

View File

@ -58,7 +58,7 @@ long long lastPercentage;
} else {
blank = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]];
}
blank.frame = CGRectMake(0, 0 + y, UIScreen.mainScreen.bounds.size.width - 16, 80);
blank.frame = CGRectMake(0, 0 + y, self.superview.bounds.size.width - 16, 80);
blank.layer.masksToBounds = YES;
blank.layer.cornerRadius = 13;
//[blank setBackgroundColor:[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1]];
@ -111,7 +111,7 @@ long long lastPercentage;
//blank.alpha = 0.8;
}
}
[self.heightAnchor constraintEqualToConstant:(self.number * 85)].active = YES;
//[self.heightAnchor constraintEqualToConstant:(self.number * 85)].active = YES;
self.isUpdating = NO;
[self darkLightMode];
}