Refactor RoomCellLayoutUpdaterProtocol to RoomCellLayoutUpdater.

This commit is contained in:
SBiOSoftWhare
2022-01-20 17:00:13 +01:00
parent 180e3cb471
commit 0cf1490990
5 changed files with 5 additions and 5 deletions
@@ -17,7 +17,7 @@
import UIKit
@objcMembers
class BubbleRoomCellLayoutUpdater: RoomCellLayoutUpdaterProtocol {
class BubbleRoomCellLayoutUpdater: RoomCellLayoutUpdater {
// MARK: - Properties
@@ -28,7 +28,7 @@ class BubbleRoomTimelineStyle: RoomTimelineStyle {
let identifier: RoomTimelineStyleIdentifier
let cellLayoutUpdater: RoomCellLayoutUpdaterProtocol?
let cellLayoutUpdater: RoomCellLayoutUpdater?
let cellProvider: RoomTimelineCellProviderProtocol
@@ -28,7 +28,7 @@ class PlainRoomTimelineStyle: RoomTimelineStyle {
let identifier: RoomTimelineStyleIdentifier
let cellLayoutUpdater: RoomCellLayoutUpdaterProtocol?
let cellLayoutUpdater: RoomCellLayoutUpdater?
let cellProvider: RoomTimelineCellProviderProtocol
@@ -18,7 +18,7 @@ import Foundation
/// Enables to setup or update a room timeline cell view
@objc
protocol RoomCellLayoutUpdaterProtocol: Themable {
protocol RoomCellLayoutUpdater: Themable {
func updateLayoutIfNeeded(for cell: MXKRoomBubbleTableViewCell, andCellData cellData: MXKRoomBubbleCellData)
@@ -27,7 +27,7 @@ protocol RoomTimelineStyle: Themable {
var identifier: RoomTimelineStyleIdentifier { get }
/// Update layout if needed for cells provided by the cell provider
var cellLayoutUpdater: RoomCellLayoutUpdaterProtocol? { get }
var cellLayoutUpdater: RoomCellLayoutUpdater? { get }
/// Register and provide timeline cells
var cellProvider: RoomTimelineCellProviderProtocol { get }