mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
Room preview unexpectedly triggering within the room (#6255)
* Room preview unexpectedly triggering within the room - The room creation modal is now triggered only when the user taps the room name label - Also fix empty room creation modal view
This commit is contained in:
@@ -28,6 +28,7 @@ class RoomCreationIntroCell: MXKRoomBubbleTableViewCell {
|
||||
|
||||
static let tapOnAvatarView = "RoomCreationIntroCellTapOnAvatarView"
|
||||
static let tapOnAddTopic = "RoomCreationIntroCellTapOnAddTopic"
|
||||
static let tapOnRoomName = "RoomCreationIntroCellTapOnRoomName"
|
||||
static let tapOnAddParticipants = "RoomCreationIntroCellTapOnAddParticipants"
|
||||
|
||||
// MARK: - Properties
|
||||
@@ -156,6 +157,10 @@ class RoomCreationIntroCell: MXKRoomBubbleTableViewCell {
|
||||
self?.notifyDelegate(with: RoomCreationIntroCell.tapOnAddTopic)
|
||||
}
|
||||
|
||||
roomCellContentView.didTapRoomName = { [weak self] in
|
||||
self?.notifyDelegate(with: RoomCreationIntroCell.tapOnRoomName)
|
||||
}
|
||||
|
||||
roomCellContentView.didTapAddParticipants = { [weak self] in
|
||||
self?.notifyDelegate(with: RoomCreationIntroCell.tapOnAddParticipants)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user