From: Jay Freeman (saurik) Date: Sat, 11 Jan 2014 12:23:37 +0000 (-0800) Subject: For some reason iOS 7 Calendar keeps sizing "23". X-Git-Tag: v0.9.3912~14 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/8542ae03a64bf3b05b1e94ddb023615d8c9bb4f4?ds=inline For some reason iOS 7 Calendar keeps sizing "23". --- diff --git a/Library.mm b/Library.mm index aab45a2..9724f29 100644 --- a/Library.mm +++ b/Library.mm @@ -910,7 +910,11 @@ MSInstanceMessageHook1(UIImage *, SBCalendarApplicationIcon, generateIconImage, "text-shadow: rgba(0, 0, 0, 0.2) -1px -1px 2px;" , @"CalendarIconDayStyle"}; - WBStringDrawingState sizeState = {&dayState, 7, nil, nil}; + WBStringDrawingState wtfState = {&dayState, 1, nil, nil}; + + WBStringDrawingState sizeState = { + kCFCoreFoundationVersionNumber > 800 ? &wtfState : &dayState + , 7, nil, nil}; WBStringDrawingState dateState = {&sizeState, 2, @"" , @"CalendarIconDateStyle"};