Skip to content

Commit

Permalink
Revert ":bug: iOS 버전 호환 문제 수정"
Browse files Browse the repository at this point in the history
This reverts commit a677131.
  • Loading branch information
chopmozzi committed Feb 19, 2024
1 parent b608e01 commit a017bef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions iOS/Layover/Layover/Scenes/Home/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ final class HomeViewController: BaseViewController {
section.interGroupSpacing = 13
section.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 30, bottom: 0, trailing: 30)
section.orthogonalScrollingBehavior = .groupPagingCentered
if #available(iOS 17.0, *) {
section.orthogonalScrollingProperties.decelerationRate = .normal
section.orthogonalScrollingProperties.bounce = .never
}
section.orthogonalScrollingProperties.decelerationRate = .normal
section.orthogonalScrollingProperties.bounce = .never

section.visibleItemsInvalidationHandler = { items, offset, environment in
let containerWidth = environment.container.contentSize.width
Expand Down

0 comments on commit a017bef

Please sign in to comment.