Skip to content

Commit 7f10ced

Browse files
author
Steffen Matthischke
committed
rename Model to Modal
1 parent 4f22fb1 commit 7f10ced

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Pod/Classes/UIViewController+LVModalQueue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@end
1717

18-
@interface LVModelQueueConfiguration : NSObject
18+
@interface LVModalQueueConfiguration : NSObject
1919

2020
/**
2121
Enables the modal queue.

Pod/Classes/UIViewController+LVModalQueue.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
typedef void (^LVQueueTransitionBlock)(void);
1414

15-
static BOOL _LVModelQueueEnabled = YES;
15+
static BOOL _LVModalQueueEnabled = YES;
1616

1717
static const NSMutableArray <LVQueueTransitionBlock> *transitionQueue;
1818
static BOOL isTransitioning = NO;
@@ -49,7 +49,7 @@ +(void)load
4949
*/
5050
- (void)lv_queuePresentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)animated completion:(void (^)(void))completion
5151
{
52-
if (!_LVModelQueueEnabled) {
52+
if (!_LVModalQueueEnabled) {
5353
[self lv_queuePresentViewController:viewControllerToPresent animated:animated completion:[UIViewController lv_queueBlockWithCompletionBlock:completion animated:animated]];
5454
return;
5555
}
@@ -88,7 +88,7 @@ - (void)lv_queuePresentViewController:(UIViewController *)viewControllerToPresen
8888
*/
8989
- (void)lv_queueDismissViewControllerAnimated:(BOOL)animated completion:(void (^)(void))completion
9090
{
91-
if (!_LVModelQueueEnabled) {
91+
if (!_LVModalQueueEnabled) {
9292
[self lv_queueDismissViewControllerAnimated:animated completion:[UIViewController lv_queueBlockWithCompletionBlock:completion animated:animated]];
9393
return;
9494
}
@@ -282,16 +282,16 @@ - (BOOL)lv_isRootViewController
282282

283283
@end
284284

285-
@implementation LVModelQueueConfiguration
285+
@implementation LVModalQueueConfiguration
286286

287287
+ (void)setEnabled:(BOOL)enabled
288288
{
289-
_LVModelQueueEnabled = enabled;
289+
_LVModalQueueEnabled = enabled;
290290
}
291291

292292
+ (BOOL)isEnabled
293293
{
294-
return _LVModelQueueEnabled;
294+
return _LVModalQueueEnabled;
295295
}
296296

297297
@end

0 commit comments

Comments
 (0)