mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
Rename BubbleCellReadReceiptsDisplayable to RoomCellReadReceiptsDisplayable.
This commit is contained in:
@@ -144,7 +144,7 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
|
||||
// MARK: - Public
|
||||
|
||||
func removeDecorationViews() {
|
||||
if let bubbleCellReadReceiptsDisplayable = self as? BubbleCellReadReceiptsDisplayable {
|
||||
if let bubbleCellReadReceiptsDisplayable = self as? RoomCellReadReceiptsDisplayable {
|
||||
bubbleCellReadReceiptsDisplayable.removeReadReceiptsView()
|
||||
}
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ final class RoomCellContentView: UIView, NibLoadable {
|
||||
}
|
||||
|
||||
// MARK: - BubbleCellReadReceiptsDisplayable
|
||||
extension RoomCellContentView: BubbleCellReadReceiptsDisplayable {
|
||||
extension RoomCellContentView: RoomCellReadReceiptsDisplayable {
|
||||
|
||||
func addReadReceiptsView(_ readReceiptsView: UIView) {
|
||||
self.readReceiptsContentView.vc_removeAllSubviews()
|
||||
|
||||
+2
-2
@@ -16,8 +16,8 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// `BubbleCellReadReceiptsDisplayable` is a protocol indicating that a cell support displaying read receipts.
|
||||
@objc protocol BubbleCellReadReceiptsDisplayable {
|
||||
/// `RoomCellReadReceiptsDisplayable` is a protocol indicating that a cell support displaying read receipts.
|
||||
@objc protocol RoomCellReadReceiptsDisplayable {
|
||||
func addReadReceiptsView(_ readReceiptsView: UIView)
|
||||
func removeReadReceiptsView()
|
||||
}
|
||||
Reference in New Issue
Block a user