diff --git a/packages/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm b/packages/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm index 826ff3a0de2..e3ed34e4ce2 100644 --- a/packages/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm +++ b/packages/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm @@ -651,8 +651,6 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame) - (NSString *)returnKeyTypeToString:(UIReturnKeyType)returnKeyType { switch (returnKeyType) { - case UIReturnKeyDefault: - return @"Default"; case UIReturnKeyGo: return @"Go"; case UIReturnKeyNext: @@ -680,7 +678,6 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame) { returnKeyTypesSet = [NSSet setWithObjects:@(UIReturnKeyDone), @(UIReturnKeyGo), - @(UIReturnKeyDefault), @(UIReturnKeyNext), @(UIReturnKeySearch), @(UIReturnKeySend), diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm index 369cdf656a3..ec977be251f 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm @@ -471,8 +471,6 @@ static NSSet *returnKeyTypesSet; - (NSString *)returnKeyTypeToString:(UIReturnKeyType)returnKeyType { switch (returnKeyType) { - case UIReturnKeyDefault: - return @"Default"; case UIReturnKeyGo: return @"Go"; case UIReturnKeyNext: @@ -500,7 +498,6 @@ static NSSet *returnKeyTypesSet; { returnKeyTypesSet = [NSSet setWithObjects:@(UIReturnKeyDone), @(UIReturnKeyGo), - @(UIReturnKeyDefault), @(UIReturnKeyNext), @(UIReturnKeySearch), @(UIReturnKeySend),