Skip to content

Commit d924d56

Browse files
Merge pull request #1 from lovoo/fix-alert/splashscreen-issue
Clear ModalQueue if it's not enabled
2 parents 7f10ced + ff96fde commit d924d56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Pod/Classes/UIViewController+LVModalQueue.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,11 @@ @implementation LVModalQueueConfiguration
287287
+ (void)setEnabled:(BOOL)enabled
288288
{
289289
_LVModalQueueEnabled = enabled;
290+
291+
if (!enabled) {
292+
isTransitioning = NO;
293+
transitionQueue = [NSMutableArray array];
294+
}
290295
}
291296

292297
+ (BOOL)isEnabled

0 commit comments

Comments
 (0)