Przeglądaj źródła

default font for webxdc summary line

cyberta 3 lat temu
rodzic
commit
55e60a5aaf
1 zmienionych plików z 1 dodań i 1 usunięć
  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