X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/5f80b386b2b431b8c44909adf019702edcc48c57..05b58bf360402545448f7bd6d562fb824f15964a:/Library.mm diff --git a/Library.mm b/Library.mm index a872c5c..92d2f62 100644 --- a/Library.mm +++ b/Library.mm @@ -1555,6 +1555,7 @@ MSInstanceMessageHook1(void, CKTranscriptCell, setBackgroundColor, UIColor *, co [[self contentView] wb$setBackgroundColor:[UIColor clearColor]]; } +// iOS >= 5.0 MSInstanceMessageHook2(id, CKTranscriptCell, initWithStyle,reuseIdentifier, int, style, NSString *, reuse) { if ((self = MSOldCall(style, reuse)) != nil) { [self setBackgroundColor:[UIColor clearColor]]; @@ -1562,6 +1563,7 @@ MSInstanceMessageHook2(id, CKTranscriptCell, initWithStyle,reuseIdentifier, int, } return self; } +// iOS << 5.0 MSInstanceMessageHook2(id, CKMessageCell, initWithStyle,reuseIdentifier, int, style, NSString *, reuse) { if ((self = MSOldCall(style, reuse)) != nil) { [self setBackgroundColor:[UIColor clearColor]];