Merge branch 'mkirk/remove-share-menu'

pull/1/head
Michael Kirk 8 years ago
commit e27ab36205

@ -549,6 +549,18 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
[self.loadMoreHeader autoSetDimension:ALDimensionHeight toSize:kLoadMoreHeaderHeight]; [self.loadMoreHeader autoSetDimension:ALDimensionHeight toSize:kLoadMoreHeaderHeight];
} }
- (BOOL)becomeFirstResponder
{
DDLogDebug(@"%@ in %s", self.logTag, __PRETTY_FUNCTION__);
return [super becomeFirstResponder];
}
- (BOOL)resignFirstResponder
{
DDLogDebug(@"%@ in %s", self.logTag, __PRETTY_FUNCTION__);
return [super resignFirstResponder];
}
- (BOOL)canBecomeFirstResponder - (BOOL)canBecomeFirstResponder
{ {
return YES; return YES;

@ -465,9 +465,6 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
[[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_COPY_ACTION", [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_COPY_ACTION",
@"Short name for edit menu item to copy contents of media message.") @"Short name for edit menu item to copy contents of media message.")
action:self.copyTextActionSelector], action:self.copyTextActionSelector],
[[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_SHARE_ACTION",
@"Short name for edit menu item to share contents of media message.")
action:self.shareTextActionSelector],
[[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_MESSAGE_METADATA_ACTION", [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_MESSAGE_METADATA_ACTION",
@"Short name for edit menu item to show message metadata.") @"Short name for edit menu item to show message metadata.")
action:self.metadataActionSelector], action:self.metadataActionSelector],
@ -482,9 +479,6 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
- (NSArray<UIMenuItem *> *)mediaMenuControllerItems - (NSArray<UIMenuItem *> *)mediaMenuControllerItems
{ {
return @[ return @[
[[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_SHARE_ACTION",
@"Short name for edit menu item to share contents of media message.")
action:self.shareMediaActionSelector],
[[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_MESSAGE_METADATA_ACTION", [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"EDIT_ITEM_MESSAGE_METADATA_ACTION",
@"Short name for edit menu item to show message metadata.") @"Short name for edit menu item to show message metadata.")
action:self.metadataActionSelector], action:self.metadataActionSelector],

Loading…
Cancel
Save