Remove placeholders comparison. This was cause why placeholders is not shown sometimes

This commit is contained in:
Ivan Zinovyev 2017-09-13 17:27:18 +03:00
parent 52165cc2ce
commit ef22ddb084
1 changed files with 0 additions and 4 deletions

View File

@ -263,10 +263,6 @@ where Delegate.Cursor == Cursor {
}
private func replacePlaceholderViewIfNeeded(with placeholderView: UIView) {
// don't update placeholder view if previous placeholder is the same one
if currentPlaceholderView === placeholderView {
return
}
tableView.isUserInteractionEnabled = true
removeCurrentPlaceholderView()