From: Jay Freeman (saurik) Date: Sun, 11 Mar 2012 20:50:41 +0000 (+0000) Subject: The new label drawing algorithm implies !SummerBoard_. X-Git-Tag: v0.9.3904~12 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/6c14ada14d0b8ad506688503b623482c382eb27c?ds=inline The new label drawing algorithm implies !SummerBoard_. --- diff --git a/Library.mm b/Library.mm index 42e2fc0..8c76a03 100644 --- a/Library.mm +++ b/Library.mm @@ -1613,11 +1613,9 @@ MSInstanceMessage1(void, SBIconLabel, drawRect, CGRect, rect) { MSInstanceMessage0(CGImageRef, SBIconLabel, buildLabelImage) { bool docked((MSHookIvar(self, "_inDock") & 0x2) != 0); - WBStringDrawingState labelState = {NULL, 0, [NSString stringWithFormat:@"" - "color: %@;" - , - (docked || !SummerBoard_ ? @"white" : @"#b3b3b3") - ], docked ? @"DockedIconLabelStyle" : @"UndockedIconLabelStyle"}; + WBStringDrawingState labelState = {NULL, 0, @"" + "color: white;" + , docked ? @"DockedIconLabelStyle" : @"UndockedIconLabelStyle"}; stringDrawingState_ = &labelState;