From: Jay Freeman (saurik) Date: Sun, 16 Oct 2011 07:33:14 +0000 (+0000) Subject: Do not attempt to theme themes: that is insane. X-Git-Tag: v0.9.3901~21 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/5b9ea3d9d7b8169038b52f9da80a8a910958f90e?ds=sidebyside Do not attempt to theme themes: that is insane. --- diff --git a/Library.mm b/Library.mm index 37b2334..cd2e5d0 100644 --- a/Library.mm +++ b/Library.mm @@ -383,6 +383,9 @@ static NSString *$pathForIcon$(SBApplication *self, NSString *suffix = @"") { @implementation NSString (WinterBoard) - (NSString *) wb$themedPath { + if ([self hasPrefix:@"/Library/Themes/"]) + return self; + if (Debug_) NSLog(@"WB:Debug:Bypass(\"%@\")", self);