Rename BubbleCellReactionsDisplayable to RoomCellReactionsDisplayable.

This commit is contained in:
SBiOSoftWhare
2022-02-16 10:42:19 +01:00
parent 9b89b8c4bd
commit cae681fabb
11 changed files with 12 additions and 12 deletions
@@ -148,7 +148,7 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
bubbleCellReadReceiptsDisplayable.removeReadReceiptsView()
}
if let bubbleCellReactionsDisplayable = self as? BubbleCellReactionsDisplayable {
if let bubbleCellReactionsDisplayable = self as? RoomCellReactionsDisplayable {
bubbleCellReactionsDisplayable.removeReactionsView()
}
@@ -187,7 +187,7 @@ extension RoomCellContentView: BubbleCellReadReceiptsDisplayable {
}
// MARK: - BubbleCellReactionsDisplayable
extension RoomCellContentView: BubbleCellReactionsDisplayable {
extension RoomCellContentView: RoomCellReactionsDisplayable {
func addReactionsView(_ reactionsView: UIView) {
self.reactionsContentView.vc_removeAllSubviews()
@@ -16,8 +16,8 @@
import Foundation
/// `BubbleCellReactionsDisplayable` is a protocol indicating that a cell support displaying reactions.
@objc protocol BubbleCellReactionsDisplayable {
/// `RoomCellReactionsDisplayable` is a protocol indicating that a cell support displaying reactions.
@objc protocol RoomCellReactionsDisplayable {
func addReactionsView(_ reactionsView: UIView)
func removeReactionsView()
}