Skip to content

Commit

Permalink
Remove not used code
Browse files Browse the repository at this point in the history
  • Loading branch information
kudoleh committed Jun 17, 2020
1 parent b8c70ab commit 795d7c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Oleh Kudinov on 18.02.19.
//

// **Note**: This view model is to display data and does not contain any domain model to prevent views accessing it
// **Note**: This item view model is to display data and does not contain any domain model to prevent views accessing it

import Foundation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ final class DefaultMoviesListViewModel: MoviesListViewModel {
var hasMorePages: Bool { currentPage < totalPageCount }
var nextPage: Int { hasMorePages ? currentPage + 1 : currentPage }

fileprivate struct Page {
let moviesPage: MoviesPage
let items: [MoviesListItemViewModel]
}
private var pages: [MoviesPage] = []
private var moviesLoadTask: Cancellable? { willSet { moviesLoadTask?.cancel() } }

Expand Down

0 comments on commit 795d7c2

Please sign in to comment.