Procházet zdrojové kódy

default font for webxdc summary line

cyberta před 3 roky
rodič
revize
55e60a5aaf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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