mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
Update AppIconOptionsController.m
This commit is contained in:
parent
55437c647e
commit
6da0f03da8
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ static NSString *BundlePath(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2) Also check installed support folder (/Library/Application Support/...) where package assets may be placed
|
// 2) Also check installed support folder (/Library/Application Support/...) where package assets may be placed
|
||||||
NSString *supportBase = @"/Library/Application Support/uYouEnhanced/Icons";
|
NSString *supportBase = @"/Library/Application Support/uYouEnhanced/AppIcons";
|
||||||
NSFileManager *fm = [NSFileManager defaultManager];
|
NSFileManager *fm = [NSFileManager defaultManager];
|
||||||
BOOL supportIsDir = NO;
|
BOOL supportIsDir = NO;
|
||||||
if ([fm fileExistsAtPath:supportBase isDirectory:&supportIsDir] && supportIsDir) {
|
if ([fm fileExistsAtPath:supportBase isDirectory:&supportIsDir] && supportIsDir) {
|
||||||
|
|
@ -118,7 +118,7 @@ static NSString *BundlePath(void) {
|
||||||
if (self.appIcons.count == 0) {
|
if (self.appIcons.count == 0) {
|
||||||
// Friendly message if no icons found
|
// Friendly message if no icons found
|
||||||
UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectInset(self.view.bounds, 20, 20)];
|
UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectInset(self.view.bounds, 20, 20)];
|
||||||
lbl.text = @"No custom icons found. Place icon folders in the tweak bundle under AppIcons/ or in /Library/Application Support/uYouEnhanced/Icons/";
|
lbl.text = @"No custom icons found. Place icon folders in the tweak bundle under AppIcons/ or in /Library/Application Support/uYouEnhanced/AppIcons/";
|
||||||
lbl.numberOfLines = 0;
|
lbl.numberOfLines = 0;
|
||||||
lbl.textAlignment = NSTextAlignmentCenter;
|
lbl.textAlignment = NSTextAlignmentCenter;
|
||||||
lbl.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
lbl.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue