Browse Source

Merge pull request #971 from deltachat/tweak-font-sizes

tweak font sizes
cyBerta 4 years ago
parent
commit
208acb96a5

+ 1 - 1
deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift

@@ -111,7 +111,7 @@ public class BaseMessageCell: UITableViewCell {
     lazy var bottomLabel: PaddingTextView = {
         let label = PaddingTextView()
         label.translatesAutoresizingMaskIntoConstraints = false
-        label.font = UIFont.preferredFont(for: .caption1, weight: .medium)
+        label.font = UIFont.preferredFont(for: .caption1, weight: .regular)
         label.setContentHuggingPriority(.defaultHigh, for: .horizontal)
         label.setContentCompressionResistancePriority(.defaultHigh, for: .horizontal)
         label.layer.cornerRadius = 4

+ 2 - 1
deltachat-ios/Chat/Views/QuoteView.swift

@@ -15,13 +15,14 @@ public class QuoteView: UIView {
         let view = UILabel()
         view.font = UIFont.preferredFont(for: .subheadline, weight: .regular)
         view.textColor = DcColors.grayTextColor
+        view.numberOfLines = 3
         view.translatesAutoresizingMaskIntoConstraints = false
         return view
     }()
 
     public lazy var senderTitle: UILabel = {
         let view = UILabel()
-        view.font = UIFont.preferredFont(for: .subheadline, weight: .semibold)
+        view.font = UIFont.preferredFont(for: .caption1, weight: .semibold)
         view.translatesAutoresizingMaskIntoConstraints = false
         return view
     }()