From ebd504b1719c65a55a1adf8b717a9df5cecd98f1 Mon Sep 17 00:00:00 2001 From: chopmozzi <44396392+chopmozzi@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:19:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?:bug:=20=EC=8B=A0=EA=B3=A0=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=EC=9D=B4=20=EC=95=88=EB=9C=A8=EB=8D=98=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift b/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift index 185440c..2d759fa 100644 --- a/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift +++ b/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift @@ -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() } From a677131339b8c8fedf559f6ee4c4dca22b92e733 Mon Sep 17 00:00:00 2001 From: chopmozzi <44396392+chopmozzi@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:22:03 +0900 Subject: [PATCH 2/2] =?UTF-8?q?:bug:=20iOS=20=EB=B2=84=EC=A0=84=20?= =?UTF-8?q?=ED=98=B8=ED=99=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/Layover/Layover/Scenes/Home/HomeViewController.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iOS/Layover/Layover/Scenes/Home/HomeViewController.swift b/iOS/Layover/Layover/Scenes/Home/HomeViewController.swift index 8387aca..926cbf0 100644 --- a/iOS/Layover/Layover/Scenes/Home/HomeViewController.swift +++ b/iOS/Layover/Layover/Scenes/Home/HomeViewController.swift @@ -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