Skip to content

Commit

Permalink
fix: bloomer
Browse files Browse the repository at this point in the history
  • Loading branch information
taflanidi committed Jun 1, 2023
1 parent d499c40 commit 54ddfba
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -421,7 +421,7 @@ extension MaskedTextInputListener: UITextFieldDelegate {
return textFieldDelegate?.textFieldShouldReturn?(textField) ?? true
}

@available(tvOS 16.0, *)
@available(iOS 16.0, tvOS 16.0, *)
public func textField(_ textField: UITextField, editMenuForCharactersIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
return textFieldDelegate?.textField?(textField, editMenuForCharactersIn: range, suggestedActions: suggestedActions)
}
Expand Down Expand Up @@ -499,7 +499,7 @@ extension MaskedTextInputListener: UITextViewDelegate {
return textViewDelegate?.textView?(textView, shouldInteractWith: textAttachment, in: characterRange, interaction: interaction) ?? true
}

@available(tvOS 16.0, *)
@available(iOS 16.0, tvOS 16.0, *)
public func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
return textViewDelegate?.textView?(textView, editMenuForTextIn: range, suggestedActions: suggestedActions)
}
Expand Down

0 comments on commit 54ddfba

Please sign in to comment.