|
@@ -5106,6 +5106,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
|
|
|
|
|
|
containerMessage.addSubview(imageThumb)
|
|
containerMessage.addSubview(imageThumb)
|
|
imageThumb.translatesAutoresizingMaskIntoConstraints = false
|
|
imageThumb.translatesAutoresizingMaskIntoConstraints = false
|
|
|
|
+ imageThumb.frame = CGRect(x: 0, y: 0, width: ListGroupImages.getImageSize(image: thumbChat, screenWidth: self.view.frame.size.width * 0.6, screenHeight: 305)!.width, height: ListGroupImages.getImageSize(image: thumbChat, screenWidth: self.view.frame.size.width * 0.6, screenHeight: 305)!.height)
|
|
let data = queryMessageReply(message_id: reffChat)
|
|
let data = queryMessageReply(message_id: reffChat)
|
|
if reffChat.isEmpty || data.count == 0 {
|
|
if reffChat.isEmpty || data.count == 0 {
|
|
imageThumb.topAnchor.constraint(equalTo: containerMessage.topAnchor, constant: 15).isActive = true
|
|
imageThumb.topAnchor.constraint(equalTo: containerMessage.topAnchor, constant: 15).isActive = true
|