From 116c57045f5c204b82defc34b6b52b32c57dbcf1 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 21 Oct 2011 03:48:16 +0000 Subject: [PATCH] Make SMS buttons transparent. --- Library.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library.mm b/Library.mm index 1b4a595..673f847 100644 --- a/Library.mm +++ b/Library.mm @@ -126,6 +126,7 @@ MSClassHook(CKMessageCell) MSClassHook(CKTimestampView) MSClassHook(CKTranscriptCell) MSClassHook(CKTranscriptController) +MSClassHook(CKTranscriptHeaderView) MSClassHook(CKTranscriptTableView) MSClassHook(SBApplication) @@ -1539,6 +1540,11 @@ MSInstanceMessageHook1(void, SBIconLabel, drawRect, CGRect, rect) { } // ChatKit {{{ +MSInstanceMessageHook0(void, CKTranscriptHeaderView, layoutSubviews) { + [self wb$setBackgroundColor:[UIColor clearColor]]; + return MSOldCall(); +} + MSInstanceMessageHook1(void, CKMessageCell, addBalloonView, CKBalloonView *, balloon) { MSOldCall(balloon); [balloon setBackgroundColor:[UIColor clearColor]]; -- 2.45.2