Skip to content

Commit

Permalink
remove an unnecessary update call (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkzhao authored Oct 17, 2017
1 parent 15843a1 commit 9204cf1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/CollectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ open class CollectionView: UIScrollView {
let frame = provider.frame(at: index)
cell.bounds.size = frame.bounds.size
cell.center = frame.center
provider.update(view: cell, at: index)
cell.currentCollectionPresenter = cell.collectionPresenter ?? provider.presenter(at: index)
let presenter = cell.currentCollectionPresenter ?? self.presenter
presenter.insert(collectionView: self, view: cell, at: index, frame: provider.frame(at: index))
Expand Down

0 comments on commit 9204cf1

Please sign in to comment.