From 5de53de18baded3a2fa57d47d73c85186c8eb8e7 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Fri, 16 Aug 2013 18:11:15 +0200 Subject: [PATCH] change misleading "tintColor" property in BITHockeyBaseManager --- Classes/BITHockeyBaseManager.h | 8 ++++---- Classes/BITHockeyBaseManager.m | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Classes/BITHockeyBaseManager.h b/Classes/BITHockeyBaseManager.h index ba530cc718..3b2cb346af 100644 --- a/Classes/BITHockeyBaseManager.h +++ b/Classes/BITHockeyBaseManager.h @@ -59,20 +59,20 @@ The UIBarStyle of the update user interface navigation bar. Default is UIBarStyleBlackOpaque - @see tintColor + @see navigationBarTintColor */ @property (nonatomic, assign) UIBarStyle barStyle; /** - The tint color of the update user interface navigation bar. + The navigationbar tint color of the update user interface navigation bar. - The tintColor is used by default, you can either overwrite it `tintColor` + The navigationBarTintColor is used by default, you can either overwrite it `navigationBarTintColor` or define another `barStyle` instead. Default is RGB(25, 25, 25) @see barStyle */ -@property (nonatomic, strong) UIColor *tintColor; +@property (nonatomic, strong) UIColor *navigationBarTintColor; /** The UIModalPresentationStyle for showing the update user interface when invoked diff --git a/Classes/BITHockeyBaseManager.m b/Classes/BITHockeyBaseManager.m index c8a9da8678..0ba60d7167 100644 --- a/Classes/BITHockeyBaseManager.m +++ b/Classes/BITHockeyBaseManager.m @@ -57,7 +57,7 @@ _serverURL = BITHOCKEYSDK_URL; _barStyle = UIBarStyleBlackOpaque; - self.tintColor = BIT_RGBCOLOR(25, 25, 25); + self.navigationBarTintColor = BIT_RGBCOLOR(25, 25, 25); _modalPresentationStyle = UIModalPresentationFormSheet; NSLocale *enUSPOSIXLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"]; @@ -185,7 +185,7 @@ _navController = [[UINavigationController alloc] initWithRootViewController:viewController]; _navController.navigationBar.barStyle = _barStyle; - _navController.navigationBar.tintColor = _tintColor; + _navController.navigationBar.tintColor = _navigationBarTintColor; _navController.modalPresentationStyle = _modalPresentationStyle; if (parentViewController) {