mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
remove unnecessary property
This commit is contained in:
parent
c62b444272
commit
50b0eb9bd1
@ -173,10 +173,6 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
|
|||||||
* the debugger during runtime, this may cause issues the Mach exception handler is enabled!
|
* the debugger during runtime, this may cause issues the Mach exception handler is enabled!
|
||||||
* @see isDebuggerAttached
|
* @see isDebuggerAttached
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@property (nonatomic, assign) BITCrashManagerUserInput crashManagerUserInput;
|
|
||||||
|
|
||||||
|
|
||||||
@property (nonatomic, assign, getter=isMachExceptionHandlerEnabled) BOOL enableMachExceptionHandler;
|
@property (nonatomic, assign, getter=isMachExceptionHandlerEnabled) BOOL enableMachExceptionHandler;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -930,12 +930,11 @@ NSString *const kBITCrashManagerStatus = @"BITCrashManagerStatus";
|
|||||||
#pragma mark - UIAlertView Delegate
|
#pragma mark - UIAlertView Delegate
|
||||||
|
|
||||||
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
|
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
|
||||||
_crashManagerUserInput = buttonIndex;
|
[self handleUserInput:buttonIndex];
|
||||||
[self handleUserInput];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)handleUserInput {
|
- (void)handleUserInput:(BITCrashManagerUserInput)userInput {
|
||||||
switch (_crashManagerUserInput) {
|
switch (userInput) {
|
||||||
case BITCrashManagerUserInputDontSend:
|
case BITCrashManagerUserInputDontSend:
|
||||||
if (self.delegate != nil && [self.delegate respondsToSelector:@selector(crashManagerWillCancelSendingCrashReport:)]) {
|
if (self.delegate != nil && [self.delegate respondsToSelector:@selector(crashManagerWillCancelSendingCrashReport:)]) {
|
||||||
[self.delegate crashManagerWillCancelSendingCrashReport:self];
|
[self.delegate crashManagerWillCancelSendingCrashReport:self];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user