From 85919e2a0a5ad75f33d885ac91254fbd6080e00e Mon Sep 17 00:00:00 2001 From: Igor Kislyuk Date: Sat, 14 Oct 2017 18:15:22 +0300 Subject: [PATCH] Fix alingment --- Sources/Classes/Views/EmptyCell/EmptyCellRow.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Classes/Views/EmptyCell/EmptyCellRow.swift b/Sources/Classes/Views/EmptyCell/EmptyCellRow.swift index 39d70c31..2300c045 100644 --- a/Sources/Classes/Views/EmptyCell/EmptyCellRow.swift +++ b/Sources/Classes/Views/EmptyCell/EmptyCellRow.swift @@ -26,6 +26,7 @@ import TableKit /// - Simulates spacing with no-breaking constraints /// - Can end editing on click public final class EmptyCellRow: TableRow { + private let rowHeight: CGFloat /// Provide height with color to create row @@ -33,8 +34,7 @@ public final class EmptyCellRow: TableRow { /// - parameter color: Color of row /// - parameter endEditingOnClick: Will cell end editing for neighbour currently active UIControl subclasses /// - returns: Fully configured EmptyCellRow - public init(height: CGFloat, - endEditingOnClick: Bool = false) { + public init(height: CGFloat, endEditingOnClick: Bool = false) { rowHeight = height super.init(item: ())