瀏覽代碼

themed colors in ChatTitleView

cyberta 5 年之前
父節點
當前提交
fcd812c5ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     }
 
-    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)
         titleLabel.textColor = baseColor
         titleLabel.text = title