Rename BubbleCellContentView to RoomCellContentView.

This commit is contained in:
SBiOSoftWhare
2022-02-16 10:11:35 +01:00
parent 75c0b1281e
commit 1d736d4dad
6 changed files with 16 additions and 18 deletions
@@ -17,7 +17,7 @@ limitations under the License.
import UIKit
@objc protocol BaseRoomCellProtocol: Themable {
var bubbleCellContentView: BubbleCellContentView? { get }
var bubbleCellContentView: RoomCellContentView? { get }
}
/// `BaseRoomCell` allows a bubble cell that inherits from this class to embed and manage the default room message outer views and add an inner content view.
@@ -32,7 +32,7 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
// MARK: Public
weak var bubbleCellContentView: BubbleCellContentView?
weak var bubbleCellContentView: RoomCellContentView?
private(set) var theme: Theme?
@@ -240,7 +240,7 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
guard self.bubbleCellContentView == nil else {
return
}
let bubbleCellContentView = BubbleCellContentView.instantiate()
let bubbleCellContentView = RoomCellContentView.instantiate()
self.contentView.vc_addSubViewMatchingParent(bubbleCellContentView)
self.bubbleCellContentView = bubbleCellContentView
}