Skip to content

Commit

Permalink
Remove unnecessary accessibilityHint method from RCTTextView.m
Browse files Browse the repository at this point in the history
It is enough to set the prop directly
  • Loading branch information
draperunner committed Jun 19, 2018
1 parent 30a0456 commit 10adf2e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Libraries/Text/Text/RCTTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,6 @@ - (NSString *)accessibilityLabel
return _textStorage.string;
}

- (NSString *)accessibilityHint
{
NSString *superAccessibilityHint = [super accessibilityHint];
if (superAccessibilityHint) {
return superAccessibilityHint;
}
return @"";
}

#pragma mark - Context Menu

- (void)enableContextMenu
Expand Down

0 comments on commit 10adf2e

Please sign in to comment.