|
@@ -4378,7 +4378,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
|
|
} else {
|
|
} else {
|
|
messageText.text = "Sorry, currently all our representatives are busy helping other customers. Do you want us to get back to you as soon as one of them is available?".localized()
|
|
messageText.text = "Sorry, currently all our representatives are busy helping other customers. Do you want us to get back to you as soon as one of them is available?".localized()
|
|
}
|
|
}
|
|
- messageText.font = UIFont.boldSystemFont(ofSize: 14)
|
|
|
|
|
|
+ messageText.font = UIFont.systemFont(ofSize: 14, weight: .medium)
|
|
messageText.textColor = .black
|
|
messageText.textColor = .black
|
|
|
|
|
|
// let date = Date()
|
|
// let date = Date()
|
|
@@ -4405,7 +4405,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
|
|
let buttonChat = UIButton(type: .custom)
|
|
let buttonChat = UIButton(type: .custom)
|
|
containerButton.addSubview(buttonChat)
|
|
containerButton.addSubview(buttonChat)
|
|
buttonChat.translatesAutoresizingMaskIntoConstraints = false
|
|
buttonChat.translatesAutoresizingMaskIntoConstraints = false
|
|
- buttonChat.widthAnchor.constraint(equalToConstant: self.view!.frame.size.width * 0.9 / 2 - 10).isActive = true
|
|
|
|
|
|
+ buttonChat.widthAnchor.constraint(equalToConstant: self.view!.frame.size.width * 0.9 / 2 - 5).isActive = true
|
|
buttonChat.heightAnchor.constraint(greaterThanOrEqualToConstant: 55).isActive = true
|
|
buttonChat.heightAnchor.constraint(greaterThanOrEqualToConstant: 55).isActive = true
|
|
if i % 2 == 0 {
|
|
if i % 2 == 0 {
|
|
if i / 2 + 1 == 1 {
|
|
if i / 2 + 1 == 1 {
|
|
@@ -4460,7 +4460,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
|
|
} else if i == 7 {
|
|
} else if i == 7 {
|
|
nameImage = "pb_cc_bg_whatsapp"
|
|
nameImage = "pb_cc_bg_whatsapp"
|
|
}
|
|
}
|
|
- buttonChat.setImage(resizeImage(image: UIImage(named: nameImage, in: Bundle.resourceBundle(for: Nexilis.self), with: nil)!, targetSize: CGSize(width: self.view!.frame.size.width * 0.9 / 2 - 10, height: 55)), for: .normal)
|
|
|
|
|
|
+ buttonChat.setImage(resizeImage(image: UIImage(named: nameImage, in: Bundle.resourceBundle(for: Nexilis.self), with: nil)!, targetSize: CGSize(width: self.view!.frame.size.width * 0.9 / 2 - 5, height: 55)), for: .normal)
|
|
// buttonChat.setTitle(category_cc[i].service_name.localized(), for: .normal)
|
|
// buttonChat.setTitle(category_cc[i].service_name.localized(), for: .normal)
|
|
// buttonChat.setTitleColor(.black, for: .normal)
|
|
// buttonChat.setTitleColor(.black, for: .normal)
|
|
// buttonChat.setImage(resizeImage(image: UIImage(named: "pb_gpt_bot", in: Bundle.resourceBundle(for: Nexilis.self), with: nil)!, targetSize: CGSize(width: 30, height: 30)), for: .normal)
|
|
// buttonChat.setImage(resizeImage(image: UIImage(named: "pb_gpt_bot", in: Bundle.resourceBundle(for: Nexilis.self), with: nil)!, targetSize: CGSize(width: 30, height: 30)), for: .normal)
|