fix delegate nil
This commit is contained in:
parent
fa4e23f330
commit
b8374bee5f
@ -50,7 +50,6 @@
|
||||
__block MVMCoreAlertObject *alert = [[MVMCoreAlertObject alloc] init];
|
||||
alert.title = [responseInfo stringForKey:KeyErrorHeading];
|
||||
alert.message = [responseInfo stringForKey:KeyUserMessage];
|
||||
alert.alertDelegate = actionDelegate;
|
||||
|
||||
NSString *messageStyle = [responseInfo stringForKey:KeyMessageStyle];
|
||||
if ([ValueTypeFieldErrors isEqualToString:[responseInfo string:KeyType]]) {
|
||||
@ -100,6 +99,7 @@
|
||||
alert.alertStyle = UIAlertControllerStyleAlert;
|
||||
}
|
||||
}
|
||||
alert.alertDelegate = actionDelegate;
|
||||
return alert;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user