mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-09 04:46:35 +10:00
menu bubbleFrame for TextURLCells
This commit is contained in:
@@ -3382,7 +3382,13 @@ extension ConversationViewController: UICollectionViewDataSource, UICollectionVi
|
||||
} else if let cell = cell as? ChatRightTextCell {
|
||||
bubbleFrame = cell.convertRect(cell.textContainerView.frame, toView: view)
|
||||
|
||||
} else if let cell = cell as? ChatLeftImageCell {
|
||||
} else if let cell = cell as? ChatLeftTextURLCell {
|
||||
bubbleFrame = cell.convertRect(cell.textContentTextView.frame, toView: view)
|
||||
|
||||
} else if let cell = cell as? ChatRightTextURLCell {
|
||||
bubbleFrame = cell.convertRect(cell.textContainerView.frame, toView: view)
|
||||
|
||||
} else if let cell = cell as? ChatLeftImageCell {
|
||||
bubbleFrame = cell.convertRect(cell.messageImageView.frame, toView: view)
|
||||
|
||||
} else if let cell = cell as? ChatRightImageCell {
|
||||
|
||||
Reference in New Issue
Block a user