Whitespaces removing

This commit is contained in:
Anton Popkov 2017-10-17 10:48:21 +03:00
parent 38c1e72049
commit f55876b6a2
2 changed files with 4 additions and 3 deletions

View File

@ -39,11 +39,12 @@ public final class EmptyCell: SeparatorCell, AppearanceConfigurable, Configurabl
backgroundColor = .clear
contentView.backgroundColor = appearance.color
}
public func configure(with _: Void) { }
public override func prepareForReuse() {
super.prepareForReuse()
configure(appearance: Appearance())
}
}

View File

@ -180,7 +180,7 @@ open class SeparatorCell: UITableViewCell {
bottomViewBottomConstraint = bottomView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor)
bottomViewBottomConstraint.isActive = true
}
open override func prepareForReuse() {
super.prepareForReuse()
configureSeparator(with: .none)