remove alertPageType property

This commit is contained in:
Chris Yang 2018-10-30 14:25:06 -04:00
parent c7e3364399
commit 05561e9cbf
2 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@
@interface MVMCoreAlertController : UIAlertController
@property (nonatomic, readonly, getter=isVisible) BOOL visible;
@property (nullable, nonatomic, copy) NSString *alertPageType;
@property (nullable, nonatomic, strong) MVMCoreAlertObject *alertObject;
@property (nullable, nonatomic, weak) id delegate;

View File

@ -90,7 +90,6 @@
// Create the alert. Adds the actions one by one.
MVMCoreAlertController *alertController = [MVMCoreAlertController alertControllerWithTitle:(title ?: @"") message:message preferredStyle:alertStyle];
alertController.alertObject = alertObject;
alertController.alertPageType = alertObject.pageType;
alertController.delegate = alertDelegate;
for (NSUInteger i = 0; i < [actions count]; i++) {
UIAlertAction *action = [actions objectAtIndex:i ofType:[UIAlertAction class]];