Fix for new swift
This commit is contained in:
parent
7416271076
commit
1c92c14a1a
|
|
@ -36,7 +36,7 @@ public protocol ConfigurableCell {
|
|||
public extension ConfigurableCell {
|
||||
|
||||
func height(for _: CellData) -> CGFloat {
|
||||
return UITableViewAutomaticDimension
|
||||
return UITableView.automaticDimension
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ open class TableRow<CellType: ConfigurableCell>: Row where CellType: UITableView
|
|||
|
||||
open func height(for cell: UITableViewCell) -> CGFloat {
|
||||
|
||||
return (cell as? CellType)?.height(for: item) ?? UITableViewAutomaticDimension
|
||||
return (cell as? CellType)?.height(for: item) ?? UITableView.automaticDimension
|
||||
}
|
||||
|
||||
// MARK: - RowActionable -
|
||||
|
|
|
|||
Loading…
Reference in New Issue