Prechádzať zdrojové kódy

change font sender to medium

alqindiirsyam 2 rokov pred
rodič
commit
a3ea897ddc

+ 3 - 3
appbuilder-ios/AppBuilder/AppBuilder/SecondTabViewController.swift

@@ -1013,7 +1013,7 @@ extension SecondTabViewController: UITableViewDelegate, UITableViewDataSource {
                 if data.fpin == idMe {
                     if data.lock == "1" {
                         if data.messageScope == "4" {
-                            stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                            stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                         }
                         stringMessage.append(("🚫 _"+"You were deleted this message".localized()+"_").richText())
                     } else {
@@ -1033,13 +1033,13 @@ extension SecondTabViewController: UITableViewDelegate, UITableViewDataSource {
                         stringMessage.append(imageStatusString)
                         stringMessage.append(NSAttributedString(string: " "))
                         if data.messageScope == "4" {
-                            stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                            stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                         }
                         stringMessage.append(attributeText)
                     }
                 } else {
                     if data.messageScope == "4" {
-                        stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                        stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                     }
                     if data.lock == "1" {
                         stringMessage.append(("🚫 _"+"This message was deleted".localized()+"_").richText())

BIN
appbuilder-ios/DigiXLite/DigiXLite.xcworkspace/xcuserdata/akhmadalqindiirsyam.xcuserdatad/UserInterfaceState.xcuserstate


+ 3 - 3
appbuilder-ios/DigiXLite/DigiXLite/Source/View/Control/ContactChatViewController.swift

@@ -986,7 +986,7 @@ extension ContactChatViewController {
                     if data.fpin == idMe {
                         if data.lock == "1" {
                             if data.messageScope == "4" {
-                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                             }
                             stringMessage.append(("🚫 _"+"You were deleted this message".localized()+"_").richText())
                         } else {
@@ -1006,13 +1006,13 @@ extension ContactChatViewController {
                             stringMessage.append(imageStatusString)
                             stringMessage.append(NSAttributedString(string: " "))
                             if data.messageScope == "4" {
-                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                             }
                             stringMessage.append(attributeText)
                         }
                     } else {
                         if data.messageScope == "4" {
-                            stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                            stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                         }
                         if data.lock == "1" {
                             stringMessage.append(("🚫 _"+"This message was deleted".localized()+"_").richText())

+ 3 - 3
appbuilder-ios/NexilisLite/NexilisLite/Source/View/Control/ContactChatViewController.swift

@@ -986,7 +986,7 @@ extension ContactChatViewController {
                     if data.fpin == idMe {
                         if data.lock == "1" {
                             if data.messageScope == "4" {
-                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                             }
                             stringMessage.append(("🚫 _"+"You were deleted this message".localized()+"_").richText())
                         } else {
@@ -1006,13 +1006,13 @@ extension ContactChatViewController {
                             stringMessage.append(imageStatusString)
                             stringMessage.append(NSAttributedString(string: " "))
                             if data.messageScope == "4" {
-                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                                stringMessage.append(NSAttributedString(string: "You".localized() + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                             }
                             stringMessage.append(attributeText)
                         }
                     } else {
                         if data.messageScope == "4" {
-                            stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 12)]))
+                            stringMessage.append(NSAttributedString(string: User.getData(pin: data.fpin)!.firstName + ": ", attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 12, weight: .medium)]))
                         }
                         if data.lock == "1" {
                             stringMessage.append(("🚫 _"+"This message was deleted".localized()+"_").richText())