Selaa lähdekoodia

feat: 礼物公屏的字体改为 h5

陈文艺 1 viikko sitten
vanhempi
sitoutus
44531456d3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Lanu/Views/Room/Message/Cells/LNRoomGiftMessageCell.swift

+ 2 - 2
Lanu/Views/Room/Message/Cells/LNRoomGiftMessageCell.swift

@@ -53,7 +53,7 @@ extension LNRoomGiftMessageCell {
     private func buildContent(_ message: LNRoomGiftMessageItem, giftImage: UIImage = .icGift) -> NSAttributedString {
         let text = String(key: "B00130", message.senderName, message.receiverName, message.giftCount)
         let attr = NSMutableAttributedString(string: text, attributes: [
-            .font: UIFont.body_s,
+            .font: UIFont.heading_h5,
             .foregroundColor: UIColor.text_1
         ])
         
@@ -112,7 +112,7 @@ extension LNRoomGiftMessageCell {
         }
         
         contentLabel.text = " "
-        contentLabel.font = .body_s
+        contentLabel.font = .heading_h5
         contentLabel.textColor = .text_1
         contentLabel.numberOfLines = 0
         container.addSubview(contentLabel)