Skip to content

Commit

Permalink
tvOS version guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Nov 25, 2024
1 parent 68a6bcd commit cdebbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Neon/PlatformTextSystem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension NSTextContainer {
extension TextView {
var tk2VisibleTextRange: NSRange? {
guard
#available(macOS 12.0, iOS 16.0, tvOS 15.0, *),
#available(macOS 12.0, iOS 16.0, tvOS 16.0, *),
let textLayoutManager,
let viewportRange = textLayoutManager.textViewportLayoutController.viewportRange,
let textContentManager = textLayoutManager.textContentManager
Expand Down

0 comments on commit cdebbca

Please sign in to comment.