Просмотр исходного кода

default font for webxdc summary line

cyberta 3 лет назад
Родитель
Сommit
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