diff --git a/TITableKitUtils/Sources/Separators/Extensions/TableRow/TableRow+Separators.swift b/TITableKitUtils/Sources/Separators/Extensions/TableRow/TableRow+Separators.swift index e4903641..05ae4742 100644 --- a/TITableKitUtils/Sources/Separators/Extensions/TableRow/TableRow+Separators.swift +++ b/TITableKitUtils/Sources/Separators/Extensions/TableRow/TableRow+Separators.swift @@ -36,7 +36,7 @@ public extension TableRow where CellType: SeparatorConfigurable { removeAction(forActionId: configureSeparatorActionId) let action = TableRowAction(.configure) { - $0.cell?.configure(with: separatorType) + $0.cell?.configureSeparators(with: separatorType) } action.id = configureSeparatorActionId diff --git a/TIUIElements/Sources/Separators/BaseSeparatorCell.swift b/TIUIElements/Sources/Separators/BaseSeparatorCell.swift index e29b8067..f0154e73 100644 --- a/TIUIElements/Sources/Separators/BaseSeparatorCell.swift +++ b/TIUIElements/Sources/Separators/BaseSeparatorCell.swift @@ -44,7 +44,7 @@ open class BaseSeparatorCell: BaseInitializableCell, SeparatorConfigurable { .init() } - public func configure(with separatorType: ViewSeparatorType) { + public func configureSeparators(with separatorType: ViewSeparatorType) { topSeparatorView.isHidden = separatorType.topIsHidden bottomSeparatorView.isHidden = separatorType.bottomIsHidden @@ -66,7 +66,7 @@ open class BaseSeparatorCell: BaseInitializableCell, SeparatorConfigurable { open override func prepareForReuse() { super.prepareForReuse() - configure(with: .none) + configureSeparators(with: .none) } // MARK: - InitializableView diff --git a/TIUIElements/Sources/Separators/SeparatorConfigurable.swift b/TIUIElements/Sources/Separators/SeparatorConfigurable.swift index 7730cbd0..6e58a390 100644 --- a/TIUIElements/Sources/Separators/SeparatorConfigurable.swift +++ b/TIUIElements/Sources/Separators/SeparatorConfigurable.swift @@ -21,5 +21,5 @@ // public protocol SeparatorConfigurable { - func configure(with separatorType: ViewSeparatorType) + func configureSeparators(with separatorType: ViewSeparatorType) }