diff --git a/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift b/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift index 2def2b6..b1a0153 100644 --- a/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift +++ b/iOS/Layover/Layover/Scenes/Playback/PlaybackInteractor.swift @@ -365,7 +365,7 @@ final class PlaybackInteractor: PlaybackBusinessLogic, PlaybackDataStore { isFetchReqeust = true var page: Int = 0 if parentView != .home { - page = playbackVideoInfos.count / 15 + 1 + page = playbackVideoInfos.count / Models.fetchPostCount + 1 if page == currentPage { return false } diff --git a/iOS/Layover/Layover/Scenes/Playback/PlaybackModels.swift b/iOS/Layover/Layover/Scenes/Playback/PlaybackModels.swift index 2466837..a9b2639 100644 --- a/iOS/Layover/Layover/Scenes/Playback/PlaybackModels.swift +++ b/iOS/Layover/Layover/Scenes/Playback/PlaybackModels.swift @@ -49,6 +49,8 @@ enum PlaybackModels { let boardID: Int } + static let fetchPostCount: Int = 15 + // MARK: - UseCase Load Video List enum LoadPlaybackVideoList {