CR: follow naming conventions

pull/1/head
Michael Kirk 7 years ago
parent 9c9f3875a7
commit 464b854eb1

@ -21,7 +21,7 @@ typedef NS_ENUM(NSUInteger, OWSMessageGestureLocation) {
OWSMessageGestureLocation_QuotedReply,
};
extern const UIDataDetectorTypes OWSAllowedDataDetectorTypes;
extern const UIDataDetectorTypes kOWSAllowedDataDetectorTypes;
@protocol OWSMessageBubbleViewDelegate

@ -21,7 +21,7 @@
NS_ASSUME_NONNULL_BEGIN
const UIDataDetectorTypes OWSAllowedDataDetectorTypes
const UIDataDetectorTypes kOWSAllowedDataDetectorTypes
= UIDataDetectorTypeLink | UIDataDetectorTypeAddress | UIDataDetectorTypeCalendarEvent;
@interface OWSMessageBubbleView () <OWSQuotedMessageViewDelegate, OWSContactShareButtonsViewDelegate>
@ -97,7 +97,7 @@ const UIDataDetectorTypes OWSAllowedDataDetectorTypes
self.bodyTextView = [self newTextView];
// Setting dataDetectorTypes is expensive. Do it just once.
self.bodyTextView.dataDetectorTypes = OWSAllowedDataDetectorTypes;
self.bodyTextView.dataDetectorTypes = kOWSAllowedDataDetectorTypes;
self.bodyTextView.hidden = YES;
self.footerView = [OWSMessageFooterView new];

@ -74,7 +74,7 @@ public class LongTextViewController: OWSViewController {
messageTextView.showsVerticalScrollIndicator = true
messageTextView.isUserInteractionEnabled = true
messageTextView.textColor = Theme.primaryColor
messageTextView.dataDetectorTypes = OWSAllowedDataDetectorTypes
messageTextView.dataDetectorTypes = kOWSAllowedDataDetectorTypes
messageTextView.text = messageBody
// RADAR #18669

Loading…
Cancel
Save