From: Jay Freeman (saurik) Date: Tue, 5 Aug 2008 02:27:23 +0000 (+0000) Subject: Added the ability to force icon rendering. X-Git-Tag: v0.9.3900~84 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/5653969367157d8359f16a960f8aa6e00b6baaae Added the ability to force icon rendering. --- diff --git a/Library.mm b/Library.mm index a6dde91..0052ac2 100644 --- a/Library.mm +++ b/Library.mm @@ -214,8 +214,9 @@ NSString *$pathForIcon$(SBApplication *self) { } static UIImage *SBApplicationIcon$icon(SBApplicationIcon *self, SEL sel) { - if (NSString *path = $pathForIcon$([self application])) - return [UIImage imageWithContentsOfFile:path]; + if (Info_ == nil || ![Info_ boolForKey:@"RenderIcons"]) + if (NSString *path = $pathForIcon$([self application])) + return [UIImage imageWithContentsOfFile:path]; return [self wb_icon]; }