Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/iOS/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
chopmozzi committed Feb 19, 2024
2 parents 03a27e0 + a677131 commit 07ffec7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions iOS/Layover/Layover/Scenes/Home/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ final class HomeViewController: BaseViewController {
section.interGroupSpacing = 13
section.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 30, bottom: 0, trailing: 30)
section.orthogonalScrollingBehavior = .groupPagingCentered
section.orthogonalScrollingProperties.decelerationRate = .normal
section.orthogonalScrollingProperties.bounce = .never
if #available(iOS 17.0, *) {
section.orthogonalScrollingProperties.decelerationRate = .normal
section.orthogonalScrollingProperties.bounce = .never
}

section.visibleItemsInvalidationHandler = { items, offset, environment in
let containerWidth = environment.container.contentSize.width
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ final class PlaybackInteractor: PlaybackBusinessLogic, PlaybackDataStore {
}

func reportVideo(with request: PlaybackModels.ReportPlaybackVideo.Request) {
if request.indexPathRow < playbackVideoInfos.count { return }
if request.indexPathRow >= playbackVideoInfos.count { return }
boardID = playbackVideoInfos[request.indexPathRow].boardID
presenter?.presentReportVideo()
}
Expand Down

0 comments on commit 07ffec7

Please sign in to comment.