Browse Source

themed colors in ChatTitleView

cyberta 5 years ago
parent
commit
fcd812c5ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deltachat-ios/View/ChatTitleView.swift

+ 1 - 1
deltachat-ios/View/ChatTitleView.swift

@@ -43,7 +43,7 @@ class ChatTitleView: UIView {
         subtitleLabel.bottomAnchor.constraint(equalTo: bottomAnchor, constant: 0).isActive = true
         subtitleLabel.bottomAnchor.constraint(equalTo: bottomAnchor, constant: 0).isActive = true
     }
     }
 
 
-    func updateTitleView(title: String, subtitle: String?, baseColor: UIColor = .darkText) {
+    func updateTitleView(title: String, subtitle: String?, baseColor: UIColor = DcColors.defaultTextColor) {
         subtitleLabel.textColor = baseColor.withAlphaComponent(0.95)
         subtitleLabel.textColor = baseColor.withAlphaComponent(0.95)
         titleLabel.textColor = baseColor
         titleLabel.textColor = baseColor
         titleLabel.text = title
         titleLabel.text = title