File tree 2 files changed +5
-8
lines changed
Libraries/Text/TextInput/Singleline
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 14
14
#import < React/RCTTextAttributes.h>
15
15
16
16
17
- #if !TARGET_OS_OSX // [macOS]
18
- @interface RCTUITextFieldCell : NSTextFieldCell
19
- #else // [macOS
17
+ #if TARGET_OS_OSX // [macOS
18
+
20
19
#if RCT_SUBCLASS_SECURETEXTFIELD
21
20
#define RCTUITextFieldCell RCTUISecureTextFieldCell
22
21
@interface RCTUISecureTextFieldCell : NSSecureTextFieldCell
23
- #endif // macOS]
22
+ #else
23
+ @interface RCTUITextFieldCell : NSTextFieldCell
24
+ #endif
24
25
25
26
@property (nonatomic , assign ) UIEdgeInsets textContainerInset;
26
27
@property (nonatomic , getter =isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled;
Original file line number Diff line number Diff line change @@ -528,17 +528,13 @@ - (void)setAccessibilityLabel:(NSString *)accessibilityLabel
528
528
[_scrollView setAccessibilityLabel: accessibilityLabel];
529
529
}
530
530
531
- - (BOOL )resignFirstResponder
532
531
- (void )setAccessibilityRole : (NSAccessibilityRole )accessibilityRole
533
532
{
534
- return [_scrollView resignFirstResponder ];
535
533
[_scrollView setAccessibilityRole: accessibilityRole];
536
534
}
537
535
538
- - (void )setAccessibilityLabel : (NSString *)accessibilityLabel
539
536
- (void )setInverted : (BOOL )inverted
540
537
{
541
- [_scrollView setAccessibilityLabel: accessibilityLabel];
542
538
BOOL changed = _inverted != inverted;
543
539
_inverted = inverted;
544
540
if (changed && _onInvertedDidChange) {
You can’t perform that action at this time.
0 commit comments