Rename BubbleCellThreadSummaryDisplayable to RoomCellThreadSummaryDisplayable.

This commit is contained in:
SBiOSoftWhare
2022-02-16 10:44:11 +01:00
parent 24fb2b3d4b
commit cbccdff525
8 changed files with 9 additions and 9 deletions
@@ -152,7 +152,7 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
bubbleCellReactionsDisplayable.removeReactionsView()
}
if let bubbleCellThreadSummaryDisplayable = self as? BubbleCellThreadSummaryDisplayable {
if let bubbleCellThreadSummaryDisplayable = self as? RoomCellThreadSummaryDisplayable {
bubbleCellThreadSummaryDisplayable.removeThreadSummaryView()
}
@@ -219,7 +219,7 @@ extension RoomCellContentView: RoomCellReactionsDisplayable {
}
// MARK: - BubbleCellThreadSummaryDisplayable
extension RoomCellContentView: BubbleCellThreadSummaryDisplayable {
extension RoomCellContentView: RoomCellThreadSummaryDisplayable {
func addThreadSummaryView(_ threadSummaryView: ThreadSummaryView) {
@@ -16,8 +16,8 @@
import Foundation
/// `BubbleCellThreadSummaryDisplayable` is a protocol indicating that a cell support displaying a thread summary.
@objc protocol BubbleCellThreadSummaryDisplayable {
/// `RoomCellThreadSummaryDisplayable` is a protocol indicating that a cell support displaying a thread summary.
@objc protocol RoomCellThreadSummaryDisplayable {
func addThreadSummaryView(_ threadSummaryView: ThreadSummaryView)
func removeThreadSummaryView()
}