소스 검색

update style CC

alqindiirsyam 1 년 전
부모
커밋
b7a07d8ea9

+ 3 - 3
appbuilder-ios/DigiXLite/DigiXLite/Source/View/Chat/EditorPersonal.swift

@@ -4378,7 +4378,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                 } 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.font = UIFont.boldSystemFont(ofSize: 14)
+                messageText.font = UIFont.systemFont(ofSize: 14, weight: .medium)
                 messageText.textColor = .black
                 
 //                let date = Date()
@@ -4405,7 +4405,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                     let buttonChat = UIButton(type: .custom)
                     containerButton.addSubview(buttonChat)
                     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
                     if i % 2 == 0 {
                         if i / 2 + 1 == 1 {
@@ -4460,7 +4460,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                     } else if i == 7 {
                         nameImage = "pb_cc_bg_whatsapp"
                     }
-                    buttonChat.setImage(resizeImage(image: UIImage(named: nameImage, in: Bundle.resourceBundle(for: DigiX.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: DigiX.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.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)

+ 3 - 3
appbuilder-ios/NexilisLite/NexilisLite/Source/View/Chat/EditorPersonal.swift

@@ -4378,7 +4378,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                 } 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.font = UIFont.boldSystemFont(ofSize: 14)
+                messageText.font = UIFont.systemFont(ofSize: 14, weight: .medium)
                 messageText.textColor = .black
                 
 //                let date = Date()
@@ -4405,7 +4405,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                     let buttonChat = UIButton(type: .custom)
                     containerButton.addSubview(buttonChat)
                     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
                     if i % 2 == 0 {
                         if i / 2 + 1 == 1 {
@@ -4460,7 +4460,7 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
                     } else if i == 7 {
                         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.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)