diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-28 18:08:31 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:30 -0800 |
commit | c31c825dcaf3e45d8854d53fde12ab177a3e87f5 (patch) | |
tree | c462f6831125cbce6acac306eb55f4e3b00cbd9f /UICaboodle | |
parent | 948db68010420426891800511bbb8cf01f812449 (diff) |
Add cydia.setBadgeValue() for tab badges.
Diffstat (limited to 'UICaboodle')
-rw-r--r-- | UICaboodle/BrowserView.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 7a35642..4168de9 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -1195,6 +1195,10 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se [[[self navigationController] navigationBar] setTintColor:color]; } +- (void) setBadgeValue:(id)value { + [[[self navigationController] tabBarItem] setBadgeValue:value]; +} + - (void) setHidesBackButton:(bool)value { [[self navigationItem] setHidesBackButton:value]; } |