mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
change misleading "tintColor" property in BITHockeyBaseManager
This commit is contained in:
parent
9b8858e31a
commit
5de53de18b
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user