Skip to content

Commit

Permalink
8263420: Incorrect function name in NSAccessibilityStaticText native …
Browse files Browse the repository at this point in the history
…peer implementation

Reviewed-by: kizune
  • Loading branch information
Pankaj Bansal committed Mar 16, 2021
1 parent 8c1112a commit d896246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@interface StaticTextAccessibility : CommonTextAccessibility<NSAccessibilityStaticText> {

};
- (nullable NSString *)accessibilityAttributedString:(NSRange)range;
- (nullable NSString *)accessibilityAttributedStringForRange:(NSRange)range;
- (nullable NSString *)accessibilityValue;
- (NSRange)accessibilityVisibleCharacterRange;
@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

@implementation StaticTextAccessibility

- (nullable NSString *)accessibilityAttributedString:(NSRange)range
- (nullable NSString *)accessibilityAttributedStringForRange:(NSRange)range
{
return [self accessibilityStringForRangeAttribute:range];
}
Expand Down

0 comments on commit d896246

Please sign in to comment.