From f55876b6a26827502fd70b09cfc49bb2c332e0be Mon Sep 17 00:00:00 2001 From: Anton Popkov Date: Tue, 17 Oct 2017 10:48:21 +0300 Subject: [PATCH] Whitespaces removing --- Sources/Classes/Views/EmptyCell/EmptyCell.swift | 5 +++-- Sources/Classes/Views/SeparatorCell/SeparatorCell.swift | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/Classes/Views/EmptyCell/EmptyCell.swift b/Sources/Classes/Views/EmptyCell/EmptyCell.swift index 48ca97ab..37293886 100644 --- a/Sources/Classes/Views/EmptyCell/EmptyCell.swift +++ b/Sources/Classes/Views/EmptyCell/EmptyCell.swift @@ -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()) } + } diff --git a/Sources/Classes/Views/SeparatorCell/SeparatorCell.swift b/Sources/Classes/Views/SeparatorCell/SeparatorCell.swift index 8cb4db1e..56e57912 100644 --- a/Sources/Classes/Views/SeparatorCell/SeparatorCell.swift +++ b/Sources/Classes/Views/SeparatorCell/SeparatorCell.swift @@ -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)