Skip to content

Commit

Permalink
visionOS compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nighthawk committed Apr 11, 2024
1 parent 6c1ee69 commit b43774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TGCardViewController/TGCardViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ extension TGCardViewController {
// but scroll down a little; then you start dragging with scroll to zero
// you keep scrolling and fling it a little that it snaps to the peaking
// position.
if #available(iOS 17.4, *) {
if #available(iOS 17.4, visionOS 1.1, *) {
scrollView.stopScrollingAndZooming()
}

Expand Down

0 comments on commit b43774f

Please sign in to comment.