mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 21:41:45 +00:00
Fix a typo for selector
This commit is contained in:
parent
40067e6b47
commit
390a71ce32
@ -88,7 +88,7 @@
|
|||||||
alpha:1.f];
|
alpha:1.f];
|
||||||
self.button1.layer.cornerRadius = 7;
|
self.button1.layer.cornerRadius = 7;
|
||||||
|
|
||||||
[self.button1 addTarget:self action:@selector(_showTransistionA) forControlEvents:UIControlEventTouchUpInside];
|
[self.button1 addTarget:self action:@selector(_showTransitionA) forControlEvents:UIControlEventTouchUpInside];
|
||||||
self.view.backgroundColor = [UIColor colorWithRed:122.f/255.f
|
self.view.backgroundColor = [UIColor colorWithRed:122.f/255.f
|
||||||
green:8.f/255.f
|
green:8.f/255.f
|
||||||
blue:81.f/255.f
|
blue:81.f/255.f
|
||||||
@ -114,7 +114,7 @@
|
|||||||
self.closeButton.center = CGPointMake(self.button1.center.x, CGRectGetMaxY(b) - closeSize.height);
|
self.closeButton.center = CGPointMake(self.button1.center.x, CGRectGetMaxY(b) - closeSize.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_showTransistionA {
|
- (void)_showTransitionA {
|
||||||
ToAnimationViewController *vc = [[ToAnimationViewController alloc] init];
|
ToAnimationViewController *vc = [[ToAnimationViewController alloc] init];
|
||||||
vc.transitioningDelegate = self;
|
vc.transitioningDelegate = self;
|
||||||
[self presentViewController:vc animated:YES completion:NULL];
|
[self presentViewController:vc animated:YES completion:NULL];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user