mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Rename BubbleCellReactionsDisplayable to RoomCellReactionsDisplayable.
This commit is contained in:
@@ -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()
|
||||
|
||||
+2
-2
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user