mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
3042f51516
commit
1fb03b0441
1 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,14 @@ NSBundle *tweakBundle = uYouPlusBundle();
|
|||
//
|
||||
|
||||
// Notifications Tab appearance
|
||||
UIImage *resizeImage(UIImage *image, CGSize newSize) {
|
||||
UIGraphicsBeginImageContextWithOptions(newSize, NO, 0.0);
|
||||
[image drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];
|
||||
UIImage *resizedImage = UIGraphicsGetImageFromCurrentImageContext();
|
||||
UIGraphicsEndImageContext();
|
||||
return resizedImage;
|
||||
}
|
||||
|
||||
static int getNotificationIconStyle() {
|
||||
return [[NSUserDefaults standardUserDefaults] integerForKey:@"notificationIconStyle"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue