Skip to content

Commit

Permalink
Fix multiple insets added on searchable collection controller (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliaveres authored and 3lvis committed Apr 26, 2017
1 parent c429b92 commit 1ef067d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/SearchableCollectionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ open class SearchableCollectionController: SweetCollectionController {

self.collectionView.delegate = self
self.collectionView.dataSource = self
}

open override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

self.collectionView.contentInset.top += self.searchBar.frame.height
}
}
Expand Down

0 comments on commit 1ef067d

Please sign in to comment.