summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-24 06:32:05 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:14 -0800
commit00984204443f80489556c5344e1d214310004785 (patch)
tree04239cefea7a3423fdb5e8f4fd658e35a3d44a74 /UICaboodle
parent39db75a2595aae5b4a73a636256539906c2b928b (diff)
Export cydia.setNavigationBarTintColor() to JS.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index b145048..9b0eda3 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1181,6 +1181,10 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
[[[self navigationController] navigationBar] setBarStyle:style];
}
+- (void) setNavigationBarTintColor:(UIColor *)color {
+ [[[self navigationController] navigationBar] setTintColor:color];
+}
+
- (void) setHidesBackButton:(bool)value {
[[self navigationItem] setHidesBackButton:value];
}