From 6c29696367684bf7cae47a0d4717fe02a1bdfbed Mon Sep 17 00:00:00 2001 From: Anton Popkov Date: Fri, 13 Oct 2017 16:08:22 +0300 Subject: [PATCH] Code review inspections fix vol. 2 --- Sources/Classes/Views/EmptyCell/EmptyCell.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/Classes/Views/EmptyCell/EmptyCell.swift b/Sources/Classes/Views/EmptyCell/EmptyCell.swift index c0cca1b8..718b348b 100644 --- a/Sources/Classes/Views/EmptyCell/EmptyCell.swift +++ b/Sources/Classes/Views/EmptyCell/EmptyCell.swift @@ -45,15 +45,13 @@ public final class EmptyCell: SeparatorCell, AppearanceProtocol, ConfigurableCel } public func configure(appearance: Appearance) { + selectionStyle = .none contentView.backgroundColor = appearance.color } public func configure(with _: Void) { } private func setup() { - backgroundColor = .clear - selectionStyle = .none - configure(appearance: Appearance()) } }