From da7dae816399f3fe85a594abde3d9f2155b1748e Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Tue, 20 Jun 2017 17:31:12 -0400 Subject: [PATCH] CR: rename longpress->longPress // FREEBIE --- Signal/src/views/OWSSystemMessageCell.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Signal/src/views/OWSSystemMessageCell.m b/Signal/src/views/OWSSystemMessageCell.m index c4feb1a3f0..3b63ec4dae 100644 --- a/Signal/src/views/OWSSystemMessageCell.m +++ b/Signal/src/views/OWSSystemMessageCell.m @@ -73,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture:)]; [self addGestureRecognizer:tap]; - UILongPressGestureRecognizer *longpress = - [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongpressGesture:)]; - [self addGestureRecognizer:longpress]; + UILongPressGestureRecognizer *longPress = + [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPressGesture:)]; + [self addGestureRecognizer:longPress]; } + (NSString *)cellReuseIdentifier @@ -318,10 +318,10 @@ NS_ASSUME_NONNULL_BEGIN [self.systemMessageCellDelegate didTapSystemMessageWithInteraction:self.interaction]; } -- (void)handleLongpressGesture:(UILongPressGestureRecognizer *)longpress +- (void)handleLongPressGesture:(UILongPressGestureRecognizer *)longPress { OWSAssert(self.interaction); - if (longpress.state == UIGestureRecognizerStateBegan) { + if (longPress.state == UIGestureRecognizerStateBegan) { [self.systemMessageCellDelegate didLongPressSystemMessageCell:self]; } }