Update AppIconOptionsController.m

This commit is contained in:
arichornlover 2024-05-09 20:44:39 -05:00 committed by GitHub
parent 49b323aeb0
commit 789c0c3534
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,6 @@
}
- (UIImage *)resizeImage:(UIImage *)image newSize:(CGSize)newSize {
CGSize newSize = CGSizeMake(30, 30);
UIGraphicsBeginImageContextWithOptions(newSize, NO, [UIScreen mainScreen].scale);
[image drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();