From 05561e9cbf89cc95d1c9d166706db3a5ad7f9786 Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Tue, 30 Oct 2018 14:25:06 -0400 Subject: [PATCH] remove alertPageType property --- MVMCore/MVMCore/AlertHandling/MVMCoreAlertController.h | 1 - MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler.m | 1 - 2 files changed, 2 deletions(-) diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertController.h b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertController.h index 23ff9ac..c3763d8 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertController.h +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertController.h @@ -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; diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler.m b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler.m index ad2acfe..eabd816 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler.m +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler.m @@ -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]];