mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix typo in BITHockeyManagerDelegate method
Must be all time favorite, thanks to Evan for letting us know :-D
This commit is contained in:
parent
faeb19f0a3
commit
d616018f39
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
@interface BITHockeyManager ()
|
@interface BITHockeyManager ()
|
||||||
|
|
||||||
- (BOOL)shouldUseLiveIdenfitier;
|
- (BOOL)shouldUseLiveIdentifier;
|
||||||
|
|
||||||
- (void)configureJMC;
|
- (void)configureJMC;
|
||||||
|
|
||||||
@ -117,7 +117,7 @@
|
|||||||
_delegate = delegate;
|
_delegate = delegate;
|
||||||
[_appIdentifier release];
|
[_appIdentifier release];
|
||||||
|
|
||||||
if ([self shouldUseLiveIdenfitier]) {
|
if ([self shouldUseLiveIdentifier]) {
|
||||||
_appIdentifier = [liveIdentifier copy];
|
_appIdentifier = [liveIdentifier copy];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -178,10 +178,10 @@
|
|||||||
|
|
||||||
#pragma mark - Private Instance Methods
|
#pragma mark - Private Instance Methods
|
||||||
|
|
||||||
- (BOOL)shouldUseLiveIdenfitier {
|
- (BOOL)shouldUseLiveIdentifier {
|
||||||
BOOL delegateResult = NO;
|
BOOL delegateResult = NO;
|
||||||
if ([_delegate respondsToSelector:@selector(shouldUseLiveIdenfitier)]) {
|
if ([_delegate respondsToSelector:@selector(shouldUseLiveIdentifier)]) {
|
||||||
delegateResult = [(NSObject <BITHockeyManagerDelegate>*)_delegate shouldUseLiveIdenfitier];
|
delegateResult = [(NSObject <BITHockeyManagerDelegate>*)_delegate shouldUseLiveIdentifier];
|
||||||
}
|
}
|
||||||
|
|
||||||
return (delegateResult) || (_appStoreEnvironment);
|
return (delegateResult) || (_appStoreEnvironment);
|
||||||
|
@ -46,13 +46,13 @@
|
|||||||
the App Store.
|
the App Store.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- (BOOL)shouldUseLiveIdenfitier {
|
- (BOOL)shouldUseLiveIdentifier {
|
||||||
#ifdef (CONFIGURATION_Release)
|
#ifdef (CONFIGURATION_Release)
|
||||||
return YES;
|
return YES;
|
||||||
#endif
|
#endif
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
- (BOOL)shouldUseLiveIdenfitier;
|
- (BOOL)shouldUseLiveIdentifier;
|
||||||
|
|
||||||
@end
|
@end
|
Loading…
x
Reference in New Issue
Block a user