From c89c0f720a6e506696d10a6c133d935795a630b0 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Thu, 20 Aug 2020 15:51:14 -0400 Subject: [PATCH] expose collapse time for survival mode --- MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.h | 2 ++ MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.h b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.h index 4503872c..302474cf 100644 --- a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.h +++ b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.h @@ -26,6 +26,8 @@ // A flag for if the top alert expandable view should collapse automatically after being expanded @property (nonatomic) BOOL collapseAutomaticallyAfterExpanded; +@property (nonatomic) NSInteger collapseTime; + // Standard - (nullable instancetype)initWithTopAlertObject:(nonnull MVMCoreTopAlertObject *)topAlertObject animationDelegate:(nullable id )animationDelegate viewToLayout:(nonnull UIView *)viewTolayout; diff --git a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m index 411c187e..1581edc5 100644 --- a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m +++ b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m @@ -32,8 +32,6 @@ @property (nullable, strong, nonatomic) NSLayoutConstraint *topConstraint; @property (nullable, strong, nonatomic) NSLayoutConstraint *shortViewHeight; -@property (nonatomic) NSInteger collapseTime; - // Sets up the short view. - (void)setupTopMessage:(nullable NSString *)topMessage;