mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 22:11:22 +00:00
Naming convention cleanup
This commit is contained in:
parent
bf7d80682f
commit
38a59fc73f
@ -37,7 +37,7 @@
|
||||
/**
|
||||
* Custom block that handles the alert that prompts the user whether he wants to send crash reports
|
||||
*/
|
||||
typedef void(^CustomAlertViewHandler)();
|
||||
typedef void(^BITCustomAlertViewHandler)();
|
||||
|
||||
|
||||
/**
|
||||
@ -347,7 +347,7 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
|
||||
|
||||
@warning Block needs to call the `handleUserInput:withUserProvidedCrashDescription` method!
|
||||
*/
|
||||
- (void) setAlertViewHandler:(CustomAlertViewHandler)alertViewHandler;
|
||||
- (void) setAlertViewHandler:(BITCustomAlertViewHandler)alertViewHandler;
|
||||
|
||||
/**
|
||||
Indicates if the app was killed while being in foreground from the iOS
|
||||
|
||||
@ -95,12 +95,6 @@ static PLCrashReporterCallbacks plCrashCallbacks = {
|
||||
};
|
||||
|
||||
|
||||
@interface BITCrashManager ()
|
||||
|
||||
@property (nonatomic, copy, setter = setAlertViewHandler:) CustomAlertViewHandler alertViewHandler;
|
||||
|
||||
@end
|
||||
|
||||
@implementation BITCrashManager {
|
||||
NSMutableDictionary *_approvedCrashReports;
|
||||
|
||||
@ -608,7 +602,7 @@ static PLCrashReporterCallbacks plCrashCallbacks = {
|
||||
}
|
||||
|
||||
|
||||
- (void)setAlertViewHandler:(CustomAlertViewHandler)alertViewHandler{
|
||||
- (void)setAlertViewHandler:(BITCustomAlertViewHandler)alertViewHandler{
|
||||
_alertViewHandler = alertViewHandler;
|
||||
}
|
||||
|
||||
|
||||
@ -51,6 +51,8 @@
|
||||
|
||||
@property (nonatomic) NSString *lastCrashFilename;
|
||||
|
||||
@property (nonatomic, copy, setter = setAlertViewHandler:) BITCustomAlertViewHandler alertViewHandler;
|
||||
|
||||
#if HOCKEYSDK_FEATURE_AUTHENTICATOR
|
||||
|
||||
// Only set via BITAuthenticator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user