From 5653969367157d8359f16a960f8aa6e00b6baaae Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 5 Aug 2008 02:27:23 +0000 Subject: [PATCH] Added the ability to force icon rendering. --- Library.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]; } -- 2.45.2