소스 검색

default font for webxdc summary line

cyberta 3 년 전
부모
커밋
55e60a5aaf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      deltachat-ios/Chat/Views/WebxdcPreview.swift

+ 1 - 1
deltachat-ios/Chat/Views/WebxdcPreview.swift

@@ -24,7 +24,7 @@ public class WebxdcPreview: UIView {
     
     lazy var subtitleView: UILabel = {
         let view = UILabel()
-        view.font = UIFont.preferredItalicFont(for: .caption2)
+        view.font = UIFont.preferredFont(forTextStyle: .body)
         view.translatesAutoresizingMaskIntoConstraints = false
         view.numberOfLines = 3
         isAccessibilityElement = false