Skip to content

Commit 5c350fc

Browse files
make init consistent
1 parent aee272c commit 5c350fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ios/RNCPagerScrollView.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
@implementation RNCPagerScrollView
55
- (instancetype)initWithFrame:(CGRect)frame {
6-
self = [super initWithFrame:frame];
7-
if (self) {
6+
if (self = [super initWithFrame:frame]) {
87
self.panGestureRecognizer.delegate = self;
98
}
109
return self;

0 commit comments

Comments
 (0)