File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
TYAlertControllerDemo/TYAlertController Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ @implementation TYAlertController (TransitionAnimate)
25
25
case TYAlertTransitionAnimationDropDown:
26
26
return [TYAlertDropDownAnimation alertAnimationIsPresenting: YES ];
27
27
case TYAlertTransitionAnimationCustom:
28
- return [self .class alertAnimationIsPresenting: YES preferredStyle: self .preferredStyle];
28
+ return [self .transitionAnimationClass alertAnimationIsPresenting: YES preferredStyle: self .preferredStyle];
29
29
default :
30
30
return nil ;
31
31
}
@@ -41,7 +41,7 @@ @implementation TYAlertController (TransitionAnimate)
41
41
case TYAlertTransitionAnimationDropDown:
42
42
return [TYAlertDropDownAnimation alertAnimationIsPresenting: NO ];
43
43
case TYAlertTransitionAnimationCustom:
44
- return [self .class alertAnimationIsPresenting: NO preferredStyle: self .preferredStyle];
44
+ return [self .transitionAnimationClass alertAnimationIsPresenting: NO preferredStyle: self .preferredStyle];
45
45
default :
46
46
return nil ;
47
47
}
You can’t perform that action at this time.
0 commit comments