Skip to content

Commit

Permalink
fix: tvOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
taflanidi committed May 1, 2023
1 parent 3deb144 commit bc0f0ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ open class NumberInputListener: MaskedTextInputListener {

let numberOfOccurrencesOfDecimalSeparator = digitsAndDecimalSeparators.numberOfOccurrencesOf(NumberInputListener.decimalSeparator)
if numberOfOccurrencesOfDecimalSeparator > 1 {
if #available(iOS 16.0, *) {
if #available(iOS 16.0, tvOS 16.0, *) {
digitsAndDecimalSeparators =
digitsAndDecimalSeparators
.reversed
Expand Down

0 comments on commit bc0f0ab

Please sign in to comment.