瀏覽代碼

use .subheadline as preferred font for subtitles

cyberta 5 年之前
父節點
當前提交
cdbb8022d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/View/ContactDetailHeader.swift

+ 1 - 1
deltachat-ios/View/ContactDetailHeader.swift

@@ -26,7 +26,7 @@ class ContactDetailHeader: UIView {
 
 
     private var subtitleLabel: UILabel = {
     private var subtitleLabel: UILabel = {
         let label = UILabel()
         let label = UILabel()
-        label.font = .preferredFont(forTextStyle: .callout)
+        label.font = .preferredFont(forTextStyle: .subheadline)
         label.textColor = UIColor(hexString: "848ba7")
         label.textColor = UIColor(hexString: "848ba7")
         label.lineBreakMode = .byTruncatingTail
         label.lineBreakMode = .byTruncatingTail
         label.adjustsFontForContentSizeCategory = true
         label.adjustsFontForContentSizeCategory = true